summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-03-19 10:12:32 -0700
committer Shih-wei Liao <sliao@google.com> 2012-03-26 21:07:56 -0700
commit9b2ba2ee9fafe46a08473657a2387fd20ab49a35 (patch)
treefd2fd68fac377d3c342f511f5cc20fdaed94b75c /src/compiler_llvm/compiler_llvm.cc
parent31a9933bfe68ef1241c74c6586b3bc259a0244ea (diff)
Implement LLVM version of stack walking. Fix Jni_Compiler tests.
Thread.cc has many visitors such as CatchBlockStackVisitor and ReferenceMapVisitor that assume non-LLVM stack layout. LLVM version's exception handling and gc have no use of those. Per Ian's suggestion, this LLVM CL relies on ShadowFrame to implement stack walking. And we use the same Frame class in LLVM version. Result: The Thread.cc runtime is common across LLVM and non-LLVM compilers, except for WalkStack utility in Thread.cc. Key: LLVM's Frame has its (only) field point to the method* in the ShadowFrame. With this, we finally pass all the jni_compiler tests. (cherry picked from commit aa4923361d850f8094a546e84ec18672ebbb19fb) Conflicts: src/stack.cc Change-Id: I77098ee5fa7b16cb7e21c0de667e3d7ca5be256f
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions