aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2023-01-11 13:52:45 +0000
committerTim Northover <tnorthover@apple.com>2023-01-12 18:53:07 +0000
commit150595ab4be34e392e345d347dcb767df04a5383 (patch)
tree339e0cf246b70d76bf9e96515e541b7287fc5785 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parent9ec115978ea2bdfc60800cd3c21264341cdc8b0a (diff)
downloadllvm-150595ab4be34e392e345d347dcb767df04a5383.zip
llvm-150595ab4be34e392e345d347dcb767df04a5383.tar.gz
llvm-150595ab4be34e392e345d347dcb767df04a5383.tar.bz2
LoopIdiom: avoid patterned memset if constant is not relocatable.
The pattern we're using for the memset_pattern* call gets put into a static global variable initialized, which means it has to be representable with relocations on the target. Most `ConstantExpr` instances do not satisfy this constraint, so avoid all of them for now.
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions