diff options
author | Florian Mayer <fmayer@google.com> | 2022-03-10 15:17:26 -0800 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2022-03-18 09:45:05 -0700 |
commit | 208b923e74feeb986fe5114ca39a74b1d2032ed7 (patch) | |
tree | c6bfc13c40e2bdf003259ff0169668acb19b446c /lldb/source/Commands/CommandObjectThread.cpp | |
parent | f5fea45d09e5bae2f141195d05cfcb055914b63f (diff) | |
download | llvm-208b923e74feeb986fe5114ca39a74b1d2032ed7.zip llvm-208b923e74feeb986fe5114ca39a74b1d2032ed7.tar.gz llvm-208b923e74feeb986fe5114ca39a74b1d2032ed7.tar.bz2 |
[HWASan] do not replace lifetime intrinsics with tagged address.
Quote from the LLVM Language Reference
If ptr is a stack-allocated object and it points to the first byte of the
object, the object is initially marked as dead. ptr is conservatively
considered as a non-stack-allocated object if the stack coloring algorithm
that is used in the optimization pipeline cannot conclude that ptr is a
stack-allocated object.
By replacing the alloca pointer with the tagged address before this change,
we confused the stack coloring algorithm.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D121835
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions