[compiler-rt] d1fb0a5 - Fix for e1d84c421df1bd496918bc4dd30f040d47906a77

Leonard Chan via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 17:29:55 PDT 2022


Author: Leonard Chan
Date: 2022-06-07T17:28:24-07:00
New Revision: d1fb0a5a63434638805ccafce3d661836391a339

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

LOG: Fix for e1d84c421df1bd496918bc4dd30f040d47906a77

One of the checks in realloc_too_big.c actually printed a regular warning
and not an OOM error, so the check shouldn't be updated.

Added: 
    

Modified: 
    compiler-rt/test/lsan/TestCases/realloc_too_big.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lsan/TestCases/realloc_too_big.c b/compiler-rt/test/lsan/TestCases/realloc_too_big.c
index 9e71e73475230..bb1316024b5cb 100644
--- a/compiler-rt/test/lsan/TestCases/realloc_too_big.c
+++ b/compiler-rt/test/lsan/TestCases/realloc_too_big.c
@@ -8,7 +8,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-// CHECK: {{Leak|Address}}Sanitizer: out of memory: failed to allocate 0x100001 bytes
+// CHECK: {{Leak|Address}}Sanitizer failed to allocate 0x100001 bytes
 
 // CHECK: {{Leak|Address}}Sanitizer: detected memory leaks
 // CHECK: {{Leak|Address}}Sanitizer: 9 byte(s) leaked in 1 allocation(s).


        


More information about the llvm-commits mailing list