diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-28 18:16:00 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-28 18:16:00 +0000 |
commit | 0b7b36a9dda2b66832f4e51f0aab937ea00110aa (patch) | |
tree | aea1ca04e0221395659ea5d3a5fcc52df09ca6b1 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 5369cd9e9c6ee758d287e4f3bcc3824db6abd061 (diff) | |
download | llvm-0b7b36a9dda2b66832f4e51f0aab937ea00110aa.zip llvm-0b7b36a9dda2b66832f4e51f0aab937ea00110aa.tar.gz llvm-0b7b36a9dda2b66832f4e51f0aab937ea00110aa.tar.bz2 |
test: fix test under ASAN and MSAN
When we're running tests under ASAN or MSAN, they're compiled with -O1, which
enables tail call elimination. This causes backtrace_test to fail: the compiler
performs tail call elimination for call3_nothrow, but it can't for call3_throw,
leading to a mismatched frame count. Disable tail call elimination (and
inlining, just to be explicit) to avoid this.
Patch by Shoaib Meenai!
llvm-svn: 279935
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions