aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/prepare_binding_Python.py
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2016-06-23 18:17:25 +0000
committerMichael Kuperstein <mkuper@google.com>2016-06-23 18:17:25 +0000
commit0194d30e09252492207c2920c3871bcde6c648ec (patch)
tree99102b810dd46b4fbbc8e18beb996ef6e50892dd /lldb/scripts/Python/prepare_binding_Python.py
parente3ffbc38d92ac2776631ac4a9de470bcebac743a (diff)
downloadllvm-0194d30e09252492207c2920c3871bcde6c648ec.zip
llvm-0194d30e09252492207c2920c3871bcde6c648ec.tar.gz
llvm-0194d30e09252492207c2920c3871bcde6c648ec.tar.bz2
[X86] Extract HiPE prologue constants into metadata
X86FrameLowering::adjustForHiPEPrologue() contains a hard-coded offset into an Erlang Runtime System-internal data structure (the PCB). As the layout of this data structure is prone to change, this poses problems for maintaining compatibility. To address this problem, the compiler can produce this information as module-level named metadata. For example (where P_NSP_LIMIT is the offending offset): !hipe.literals = !{ !2, !3, !4 } !2 = !{ !"P_NSP_LIMIT", i32 152 } !3 = !{ !"X86_LEAF_WORDS", i32 24 } !4 = !{ !"AMD64_LEAF_WORDS", i32 24 } Patch by Magnus Lang Differential Revision: http://reviews.llvm.org/D20363 llvm-svn: 273593
Diffstat (limited to 'lldb/scripts/Python/prepare_binding_Python.py')
0 files changed, 0 insertions, 0 deletions