diff options
author | Ben Cheng <bccheng@android.com> | 2011-10-10 16:26:36 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@android.com> | 2011-10-10 16:26:36 -0700 |
commit | f7c18055de6e7ffb3ee16a45680ea0ffd6158fbd (patch) | |
tree | 9b564ad9b5f50a0437289ecdeb00e5d7225bbc14 /vm/Globals.h | |
parent | c2fdadcdfc8fd249f646153457f5cffde54d7945 (diff) | |
download | android_dalvik-f7c18055de6e7ffb3ee16a45680ea0ffd6158fbd.tar.gz android_dalvik-f7c18055de6e7ffb3ee16a45680ea0ffd6158fbd.tar.bz2 android_dalvik-f7c18055de6e7ffb3ee16a45680ea0ffd6158fbd.zip |
Leave up to 512 chars of gDvm.lastMessage on dvmAbort's stack frame.
Bug: 5372634
Change-Id: I019a059e5a989de3dfc9e2f5e78f7caa7168cf75
Diffstat (limited to 'vm/Globals.h')
-rw-r--r-- | vm/Globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/Globals.h b/vm/Globals.h index 397bfea85..3cc0b49e2 100644 --- a/vm/Globals.h +++ b/vm/Globals.h @@ -722,6 +722,9 @@ struct DvmGlobals { #ifdef VERIFIER_STATS VerifierStats verifierStats; #endif + + /* String pointed here will be deposited on the stack frame of dvmAbort */ + const char *lastMessage; }; extern struct DvmGlobals gDvm; |