summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-09-11 16:29:42 -0700
committer buzbee <buzbee@google.com> 2012-09-13 10:49:20 -0700
commit8320f3867c02bae9bef6cdab267820cb7b412781 (patch)
tree7e2211068ccbd17da7e9c83d24b10fdd9db28c39 /src/compiler_llvm/compiler_llvm.h
parentc7b83a0d8ac73bdfff751619ae2a34948e3534b7 (diff)
Prune useless entries from dex to pc map
Step one of the change. Limit entries in the table to native code safepoint locations (which generally are the return PC addresses of any call that might trigger a stack walk and the start addresses of all catch blocks). Previously, the mapping_table described ranges. No longer. Any native PC located within compiled Dex code that is found in a stack walk should have an exact match in the table. In future CLs we'll add data compression (probably uLeb128) and may add inflation on first use to a faster access map (instead of the current linear search). Note that this CL introduces somewhat of a regression in the capabilities of oat-dump. Because the mapping table no longer associates each native intruction with its Dex counter-part, the native code disassembly no longer includes interspersed Dex disassembly. Note also that as of this CL, the compiler is adopting the 100-char line length limit used in the rest of Art. The 80-char limit should still be used in any code that we expect to upstream to llvm. Change-Id: I1beca4d57c41e8161bf746bc62abbce08d5bcb4d
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.h')
0 files changed, 0 insertions, 0 deletions