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

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 19:18:35 PST 2025


================
@@ -66,8 +66,10 @@ void test_simple_constructors() {
   int *ptr1 = pair1.first;
 
 #ifdef O0
-  assert(dfsan_read_label(&i1, sizeof(i1)) == 10);
-  assert(dfsan_read_label(&ptr1, sizeof(ptr1)) == 10);
+  assert(dfsan_read_label(&i1, sizeof(i1)) == 8 ||
----------------
thurstond wrote:

IIUC the test changes are only needed for SystemZ, and therefore make the tests unnecessarily weaker for other platforms. Is it possible to make the alternative options only allowed for SystemZ?

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


More information about the llvm-commits mailing list