diff options
author | Marco Elver <elver@google.com> | 2023-05-25 11:08:00 +0200 |
---|---|---|
committer | Marco Elver <elver@google.com> | 2023-05-25 12:01:10 +0200 |
commit | 01cea39f8e11012ac96b36ef60bfaf2f3b64320b (patch) | |
tree | 7a6702ec0665cf9a88c9d9647c2e2ece31f8a82d /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 19b137f0c2be6955f2712d2f79b72aebed5feb42 (diff) | |
download | llvm-01cea39f8e11012ac96b36ef60bfaf2f3b64320b.zip llvm-01cea39f8e11012ac96b36ef60bfaf2f3b64320b.tar.gz llvm-01cea39f8e11012ac96b36ef60bfaf2f3b64320b.tar.bz2 |
[sanitizer_common] Support stripping interceptor prefixes in RenderFrame()
Rather than having every tool pass the right interceptor prefix, just
move this logic into RenderFrame().
Note that currently there are a few cases where due to aliasing the
intercepted function -> interceptor, the unwinder sees the intercepted
function - however this is never guaranteed. In a later change this
becomes more apparent, and other non-tsan sanitizer tests would fail as
well. By making the default RenderFrame() strip interceptor prefixes, we
don't rely on the linker aliasing preferences.
Reviewed By: dvyukov, vitalybuka, MaskRay
Differential Revision: https://reviews.llvm.org/D151319
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions