aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorLuís Marques <luismarques@lowrisc.org>2021-03-17 15:57:00 +0000
committerLuís Marques <luismarques@lowrisc.org>2021-03-17 15:57:54 +0000
commit6b025da443a4ad40b7c05317db05d50af9f3d49a (patch)
treebe4ab5ce27efc8878dbd01f368c69eb458189c8f /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent402f2cae7dcaba37ebe33e65bb4e2306ff752bfe (diff)
downloadllvm-6b025da443a4ad40b7c05317db05d50af9f3d49a.zip
llvm-6b025da443a4ad40b7c05317db05d50af9f3d49a.tar.gz
llvm-6b025da443a4ad40b7c05317db05d50af9f3d49a.tar.bz2
[Sanitizer] Fix debug builds of sanitizer_stacktrace_test.cpp
An implementation of `__sanitizer::BufferedStackTrace::UnwindImpl` is provided per sanitizer, but there isn't one for sanitizer-common. In non-optimized builds of the sanitizer-common tests that becomes a problem: the test `sanitizer_stacktrace_test.cpp` won't have a reference to that method optimized away, causing linking errors. This patch provides a dummy implementation, which fixes those builds. Differential Revision: https://reviews.llvm.org/D96956
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions