forked from OSchip/llvm-project
[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 llvm-svn: 269277
This commit is contained in:
parent
26092b2934
commit
1598698fcd
|
@ -73,6 +73,8 @@ clang_asan_static_cflags = (["-fsanitize=address",
|
|||
"-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:
|
||||
|
|
Loading…
Reference in New Issue