[clang] [compiler-rt] [llvm] [dfsan] Add dataflow sanitizer support for SystemZ (PR #168991)

Andrew Browne via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 11:48:53 PST 2026


================
@@ -10,6 +10,8 @@
 
 # Setup default compiler flags used with -fsanitize=dataflow option.
 clang_dfsan_cflags = ["-fsanitize=dataflow"] + [config.target_cflags]
+if config.target_arch == "s390x":
+    clang_dfsan_cflags.append("-mbackchain")
----------------
browneee wrote:

nit: Please phrase it a bit more explicitly:

# s390x arch needs -mbackchain to print stack backtrace of origin.

https://github.com/llvm/llvm-project/pull/168991


More information about the cfe-commits mailing list