Skip to content

Commit 1598698

Browse files
author
Marcin Koscielnicki
committedMay 12, 2016
[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
1 parent 26092b2 commit 1598698

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎compiler-rt/test/asan/lit.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ clang_asan_static_cflags = (["-fsanitize=address",
7373
"-fno-omit-frame-pointer",
7474
"-fno-optimize-sibling-calls"] +
7575
config.debug_info_flags + target_cflags)
76+
if config.target_arch == 's390x':
77+
clang_asan_static_cflags.append("-mbackchain")
7678
clang_asan_static_cxxflags = config.cxx_mode_flags + clang_asan_static_cflags
7779

7880
if config.asan_dynamic:

0 commit comments

Comments
 (0)
Please sign in to comment.