[msan] reflect the changed flag to the tests.
authorhyeongyu kim <gusrb406@snu.ac.kr>
Sun, 16 Jan 2022 11:42:35 +0000 (20:42 +0900)
committerhyeongyu kim <gusrb406@snu.ac.kr>
Sun, 16 Jan 2022 11:48:05 +0000 (20:48 +0900)
1b1c8d changed `enable-noundef-analysis` flag to
`disable-noundef-analysis`.  noundef_analysis.cpp was using old
`enable-noundef-analysis` flag and this patch fixes it.

compiler-rt/test/msan/noundef_analysis.cpp

index 542fabc..a45f791 100644 (file)
@@ -1,8 +1,8 @@
 // RUN: %clangxx_msan %s -o %t && %run %t >%t.out 2>&1
 // RUN: FileCheck %s --check-prefix=MISSED --allow-empty < %t.out
-// RUN: %clangxx_msan %s -Xclang -enable-noundef-analysis -mllvm -msan-eager-checks=1 -o %t && not %run %t >%t.out 2>&1
+// RUN: %clangxx_msan %s -mllvm -msan-eager-checks=1 -o %t && not %run %t >%t.out 2>&1
 // RUN: FileCheck %s < %t.out
-// RUN: %clangxx_msan %s -fsanitize-memory-param-retval -o %t && not %run %t >%t.out 2>&1
+// RUN: %clangxx_msan %s -disable-noundef-analysis -s -fsanitize-memory-param-retval -o %t && not %run %t >%t.out 2>&1
 // RUN: FileCheck %s < %t.out
 
 struct SimpleStruct {