diff options
| author | Andreas Gampe <agampe@google.com> | 2017-06-21 21:05:13 -0700 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2017-06-22 16:04:07 -0700 |
| commit | 51d80ccca5eb2ea0eef0de836dcc03e0545f63db (patch) | |
| tree | 14ff2bf5b9a9ca86d8a8d6f736cf27d8a1d47554 /dexlist | |
| parent | 19df565ffcb30cb7b5217f074771078f0bb6cc1c (diff) | |
| download | art-51d80ccca5eb2ea0eef0de836dcc03e0545f63db.tar.gz art-51d80ccca5eb2ea0eef0de836dcc03e0545f63db.tar.bz2 art-51d80ccca5eb2ea0eef0de836dcc03e0545f63db.zip | |
ART: Refactor abort code
Remove Runtime::Aborter and let Runtime::Abort set the abort message
on target.
This works around a missing tail-call optimization that leads to a
superfluous frame on the call-stack when aborting.
Partially reverts commit 3fec9ac0d5af1358d216eb2fdc2000ec0205f3f0.
Bug: 62810360
Test: m test-art-host
Test: Manual inspection of abort dump
Change-Id: Ie4efc8bbdc8b665b23081b37a11921fe26b182b4
Diffstat (limited to 'dexlist')
| -rw-r--r-- | dexlist/dexlist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dexlist/dexlist.cc b/dexlist/dexlist.cc index 29707af704..fa232a7634 100644 --- a/dexlist/dexlist.cc +++ b/dexlist/dexlist.cc @@ -211,7 +211,7 @@ static void usage(void) { */ int dexlistDriver(int argc, char** argv) { // Art specific set up. - InitLogging(argv, Runtime::Aborter); + InitLogging(argv, Runtime::Abort); MemMap::Init(); // Reset options. |
