[compiler-rt] r344289 - [hwasan] relax a test

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 13:29:00 PDT 2018


Author: kcc
Date: Thu Oct 11 13:29:00 2018
New Revision: 344289

URL: http://llvm.org/viewvc/llvm-project?rev=344289&view=rev
Log:
[hwasan] relax a test

Modified:
    compiler-rt/trunk/test/hwasan/TestCases/heap-buffer-overflow.c

Modified: compiler-rt/trunk/test/hwasan/TestCases/heap-buffer-overflow.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/heap-buffer-overflow.c?rev=344289&r1=344288&r2=344289&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/heap-buffer-overflow.c (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/heap-buffer-overflow.c Thu Oct 11 13:29:00 2018
@@ -17,13 +17,13 @@ int main(int argc, char **argv) {
   int size = argc < 3 ? 30 : atoi(argv[2]);
   char * volatile x = (char*)malloc(size);
   x[offset] = 42;
-// CHECK40: is a small unallocated heap chunk; size: 32 offset: 8
+// CHECK40: allocated heap chunk; size: 32 offset: 8
 // CHECK40: is located 10 bytes to the right of 30-byte region
 //
-// CHECK80: is a small unallocated heap chunk; size: 32 offset: 16
+// CHECK80: allocated heap chunk; size: 32 offset: 16
 // CHECK80: is located 50 bytes to the right of 30-byte region
 //
-// CHECKm30: is a small unallocated heap chunk; size: 32 offset: 2
+// CHECKm30: allocated heap chunk; size: 32 offset: 2
 // CHECKm30: is located 30 bytes to the left of 30-byte region
 //
 // CHECKMm30: is a large allocated heap chunk; size: 1003520 offset: -30




More information about the llvm-commits mailing list