[compiler-rt] be9eafc - [msan] reflect the changed flag to the tests.

hyeongyu kim via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 16 03:55:56 PST 2022


Author: hyeongyu kim
Date: 2022-01-16T20:48:05+09:00
New Revision: be9eafc71004393363d155dd16ea1af9c663aafe

URL: https://github.com/llvm/llvm-project/commit/be9eafc71004393363d155dd16ea1af9c663aafe
DIFF: https://github.com/llvm/llvm-project/commit/be9eafc71004393363d155dd16ea1af9c663aafe.diff

LOG: [msan] reflect the changed flag to the tests.

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.

Added: 
    

Modified: 
    compiler-rt/test/msan/noundef_analysis.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/msan/noundef_analysis.cpp b/compiler-rt/test/msan/noundef_analysis.cpp
index 542fabcf4c935..a45f791ae53ad 100644
--- a/compiler-rt/test/msan/noundef_analysis.cpp
+++ b/compiler-rt/test/msan/noundef_analysis.cpp
@@ -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 {


        


More information about the llvm-commits mailing list