[compiler-rt] r367856 - More follow-up to r367851

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 06:27:37 PDT 2019


Author: nico
Date: Mon Aug  5 06:27:37 2019
New Revision: 367856

URL: http://llvm.org/viewvc/llvm-project?rev=367856&view=rev
Log:
More follow-up to r367851

Modified:
    compiler-rt/trunk/test/hwasan/TestCases/Linux/aligned_alloc-alignment.cpp
    compiler-rt/trunk/test/hwasan/TestCases/Linux/pvalloc-overflow.cpp
    compiler-rt/trunk/test/hwasan/TestCases/Posix/posix_memalign-alignment.cpp

Modified: compiler-rt/trunk/test/hwasan/TestCases/Linux/aligned_alloc-alignment.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/Linux/aligned_alloc-alignment.cpp?rev=367856&r1=367855&r2=367856&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/Linux/aligned_alloc-alignment.cpp (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/Linux/aligned_alloc-alignment.cpp Mon Aug  5 06:27:37 2019
@@ -15,7 +15,7 @@ int main() {
   void *p = aligned_alloc(17, 100);
   // CHECK: ERROR: HWAddressSanitizer: invalid alignment requested in aligned_alloc: 17
   // CHECK: {{#0 0x.* in .*}}{{aligned_alloc|memalign}}
-  // CHECK: {{#1 0x.* in main .*aligned_alloc-alignment.cc:}}[[@LINE-3]]
+  // CHECK: {{#1 0x.* in main .*aligned_alloc-alignment.cpp:}}[[@LINE-3]]
   // CHECK: SUMMARY: HWAddressSanitizer: invalid-aligned-alloc-alignment
 
   printf("pointer after failed aligned_alloc: %zd\n", (size_t)p);

Modified: compiler-rt/trunk/test/hwasan/TestCases/Linux/pvalloc-overflow.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/Linux/pvalloc-overflow.cpp?rev=367856&r1=367855&r2=367856&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/Linux/pvalloc-overflow.cpp (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/Linux/pvalloc-overflow.cpp Mon Aug  5 06:27:37 2019
@@ -40,7 +40,7 @@ int main(int argc, char *argv[]) {
 
 // CHECK: {{ERROR: HWAddressSanitizer: pvalloc parameters overflow: size .* rounded up to system page size .* cannot be represented in type size_t}}
 // CHECK: {{#0 0x.* in .*pvalloc}}
-// CHECK: {{#1 0x.* in main .*pvalloc-overflow.cc:}}
+// CHECK: {{#1 0x.* in main .*pvalloc-overflow.cpp:}}
 // CHECK: SUMMARY: HWAddressSanitizer: pvalloc-overflow
 
 // CHECK-NULL: errno: 12

Modified: compiler-rt/trunk/test/hwasan/TestCases/Posix/posix_memalign-alignment.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/Posix/posix_memalign-alignment.cpp?rev=367856&r1=367855&r2=367856&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/Posix/posix_memalign-alignment.cpp (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/Posix/posix_memalign-alignment.cpp Mon Aug  5 06:27:37 2019
@@ -12,7 +12,7 @@ int main() {
   int res = posix_memalign(&p, 17, 100);
   // CHECK: ERROR: HWAddressSanitizer: invalid alignment requested in posix_memalign: 17
   // CHECK: {{#0 0x.* in .*posix_memalign}}
-  // CHECK: {{#1 0x.* in main .*posix_memalign-alignment.cc:}}[[@LINE-3]]
+  // CHECK: {{#1 0x.* in main .*posix_memalign-alignment.cpp:}}[[@LINE-3]]
   // CHECK: SUMMARY: HWAddressSanitizer: invalid-posix-memalign-alignment
 
   printf("pointer after failed posix_memalign: %zd\n", (size_t)p);




More information about the llvm-commits mailing list