[compiler-rt] 91e392b - [ubsan] Fix test on Windows

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 19:53:11 PST 2024


Author: Vitaly Buka
Date: 2024-12-19T19:52:31-08:00
New Revision: 91e392b2836f25bf5641f0ca7ec2f64018c2193b

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

LOG: [ubsan] Fix test on Windows

Added: 
    

Modified: 
    compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp b/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp
index d5e0b46a0f8be8..5c3bae80ecdda8 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/local_bounds.cpp
@@ -25,7 +25,7 @@ test(char i) {
   // CHECK: error: access out of bounds
   // CHECK: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
   // LINE: local_bounds.cpp:[[#@LINE-3]]:{{.*}}runtime error: access out of bounds
-  // LINE: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior {{.*}}local_bounds.cpp:[[#@LINE-4]]:
+  // LINE: SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior {{.*}}local_bounds.cpp:[[#@LINE-4]]
 }
 
 int main(int argc, char **argv) {


        


More information about the llvm-commits mailing list