summaryrefslogtreecommitdiffstats
path: root/dexlist
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-06-21 21:05:13 -0700
committerAndreas Gampe <agampe@google.com>2017-06-22 16:04:07 -0700
commit51d80ccca5eb2ea0eef0de836dcc03e0545f63db (patch)
tree14ff2bf5b9a9ca86d8a8d6f736cf27d8a1d47554 /dexlist
parent19df565ffcb30cb7b5217f074771078f0bb6cc1c (diff)
downloadart-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.cc2
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.