[llvm-commits] [compiler-rt] r146212 - in /compiler-rt/trunk/lib/asan/tests: heap-overflow.tmpl strncpy-overflow.tmpl use-after-free.tmpl

Kostya Serebryany kcc at google.com
Thu Dec 8 16:18:21 PST 2011


Author: kcc
Date: Thu Dec  8 18:18:21 2011
New Revision: 146212

URL: http://llvm.org/viewvc/llvm-project?rev=146212&view=rev
Log:
[asan] fix output test to not require debug symbols in asan run-time

Modified:
    compiler-rt/trunk/lib/asan/tests/heap-overflow.tmpl
    compiler-rt/trunk/lib/asan/tests/strncpy-overflow.tmpl
    compiler-rt/trunk/lib/asan/tests/use-after-free.tmpl

Modified: compiler-rt/trunk/lib/asan/tests/heap-overflow.tmpl
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/heap-overflow.tmpl?rev=146212&r1=146211&r2=146212&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/heap-overflow.tmpl (original)
+++ compiler-rt/trunk/lib/asan/tests/heap-overflow.tmpl Thu Dec  8 18:18:21 2011
@@ -2,5 +2,5 @@
     #0 0x.* in main .*heap-overflow.cc:6
 0x.* is located 0 bytes to the right of 10-byte region
 allocated by thread T0 here:
-    #0 0x.* in malloc _asan_rtl_
+    #0 0x.* in malloc
     #1 0x.* in main .*heap-overflow.cc:[45]

Modified: compiler-rt/trunk/lib/asan/tests/strncpy-overflow.tmpl
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/strncpy-overflow.tmpl?rev=146212&r1=146211&r2=146212&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/strncpy-overflow.tmpl (original)
+++ compiler-rt/trunk/lib/asan/tests/strncpy-overflow.tmpl Thu Dec  8 18:18:21 2011
@@ -1,7 +1,7 @@
 WRITE of size 1 at 0x.* thread T0
-    #0 0x.* in strncpy _asan_rtl_
+    #0 0x.* in strncpy
     #1 0x.* in main .*strncpy-overflow.cc:[78]
 0x.* is located 0 bytes to the right of 9-byte region
 allocated by thread T0 here:
-    #0 0x.* in malloc _asan_rtl_
+    #0 0x.* in malloc
     #1 0x.* in main .*strncpy-overflow.cc:6

Modified: compiler-rt/trunk/lib/asan/tests/use-after-free.tmpl
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/use-after-free.tmpl?rev=146212&r1=146211&r2=146212&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/use-after-free.tmpl (original)
+++ compiler-rt/trunk/lib/asan/tests/use-after-free.tmpl Thu Dec  8 18:18:21 2011
@@ -3,8 +3,8 @@
     #0 0x.* in main .*use-after-free.cc:5
 0x.* is located 5 bytes inside of 10-byte region .0x.*,0x.*
 freed by thread T0 here:
-    #0 0x.* in free _asan_rtl_
+    #0 0x.* in free
     #1 0x.* in main .*use-after-free.cc:[45]
 previously allocated by thread T0 here:
-    #0 0x.* in malloc _asan_rtl_
+    #0 0x.* in malloc
     #1 0x.* in main .*use-after-free.cc:3





More information about the llvm-commits mailing list