[compiler-rt] r269277 - [ASan] [SystemZ] Add -mbackchain to test cflags.
Marcin Koscielnicki via llvm-commits
llvm-commits at lists.llvm.org
Thu May 12 01:49:35 PDT 2016
Author: koriakin
Date: Thu May 12 03:49:34 2016
New Revision: 269277
URL: http://llvm.org/viewvc/llvm-project?rev=269277&view=rev
Log:
[ASan] [SystemZ] Add -mbackchain to test cflags.
This is needed for proper operation of the fast unwinder, see the discussion
on D18895.
Differential Revision: http://reviews.llvm.org/D19898
Modified:
compiler-rt/trunk/test/asan/lit.cfg
Modified: compiler-rt/trunk/test/asan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg?rev=269277&r1=269276&r2=269277&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg (original)
+++ compiler-rt/trunk/test/asan/lit.cfg Thu May 12 03:49:34 2016
@@ -73,6 +73,8 @@ clang_asan_static_cflags = (["-fsanitize
"-fno-omit-frame-pointer",
"-fno-optimize-sibling-calls"] +
config.debug_info_flags + target_cflags)
+if config.target_arch == 's390x':
+ clang_asan_static_cflags.append("-mbackchain")
clang_asan_static_cxxflags = config.cxx_mode_flags + clang_asan_static_cflags
if config.asan_dynamic:
More information about the llvm-commits
mailing list