aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2021-10-18 09:08:36 -0700
committerMatt Morehouse <mascasa@google.com>2021-10-18 13:31:10 -0700
commit431a5d8411952b4c9c2185303afd703123ef55cc (patch)
tree7cef84e001ce1936560980d64d3394ca9e27e4b4 /lldb/source/Plugins/ScriptInterpreter/Python
parent04dc68710ad2b30a1d3b4a2ca33005af2c9460eb (diff)
downloadllvm-431a5d8411952b4c9c2185303afd703123ef55cc.zip
llvm-431a5d8411952b4c9c2185303afd703123ef55cc.tar.gz
llvm-431a5d8411952b4c9c2185303afd703123ef55cc.tar.bz2
[x86] Implement a tagged-globals backend feature.
The feature tells the backend to allow tags in the upper bits of global variable addresses. These tags will be ignored by upcoming CPUs with the Intel LAM feature but may be used in instrumentation passes (e.g., HWASan). This patch implements the feature by using @GOTPCREL relocations instead of direct references to the locally defined global. Thus the full tagged address can be loaded by a single instruction: movq global@GOTPCREL(%rip), %rax Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D111343
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions