[PATCH] D19898: [ASan] [SystemZ] Add -mbackchain to test cflags.

Marcin Koƛcielnicki via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 19:43:18 PDT 2016


koriakin created this revision.
koriakin added reviewers: uweigand, kcc, eugenis.
koriakin added a subscriber: llvm-commits.
koriakin set the repository for this revision to rL LLVM.
koriakin added a project: Sanitizers.
Herald added a subscriber: kubabrecka.

This is needed for proper operation of the fast unwinder, see the discussion
on D18895.

Repository:
  rL LLVM

http://reviews.llvm.org/D19898

Files:
  test/asan/lit.cfg

Index: test/asan/lit.cfg
===================================================================
--- test/asan/lit.cfg
+++ test/asan/lit.cfg
@@ -73,6 +73,8 @@
                             "-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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19898.56087.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160504/6a377a5d/attachment.bin>


More information about the llvm-commits mailing list