aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2022-08-11 16:20:49 +0000
committerJames Y Knight <jyknight@google.com>2022-08-12 20:52:00 +0000
commit4d7f9b7489cdd13aac2f3337e3d46fecbb3aaf9f (patch)
tree9773d65a83c3879583845a52d8b2d498daec5e4e /lldb/source/Commands/CommandObjectThread.cpp
parent8a3481b958744aef8f23ade8d5d9b3e4b3230f58 (diff)
downloadllvm-4d7f9b7489cdd13aac2f3337e3d46fecbb3aaf9f.zip
llvm-4d7f9b7489cdd13aac2f3337e3d46fecbb3aaf9f.tar.gz
llvm-4d7f9b7489cdd13aac2f3337e3d46fecbb3aaf9f.tar.bz2
X86: Don't fold TEST into ADD ...@GOTTPOFF/GOTNTPOFF/INDNTPOFF
The linker may convert such an ADD into a LEA, so we must not use the EFLAGS output. This causes miscompiles with -fsanitize=null after bacdf80f42b46044262e97e98398d1bd0b75900d added llvm.threadlocal.address -- previously, global variables were known to be non-null, but the intrinsic is not currently known to return nonnull. (That should be corrected, but it shouldn't've caused miscompiles!) Differential Revision: https://reviews.llvm.org/D131716
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions