[compiler-rt] r216661 - [ubsan] Follow-up for r216657: fixed the line numbers in the test.

Alexander Potapenko glider at google.com
Thu Aug 28 03:25:23 PDT 2014


Author: glider
Date: Thu Aug 28 05:25:17 2014
New Revision: 216661

URL: http://llvm.org/viewvc/llvm-project?rev=216661&view=rev
Log:
[ubsan] Follow-up for r216657: fixed the line numbers in the test.

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

Modified: compiler-rt/trunk/test/ubsan/TestCases/Misc/missing_return.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Misc/missing_return.cpp?rev=216661&r1=216660&r2=216661&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/missing_return.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Misc/missing_return.cpp Thu Aug 28 05:25:17 2014
@@ -6,7 +6,7 @@
 int f() {
 // Slow stack unwinding is disabled on Darwin for now, see
 // https://code.google.com/p/address-sanitizer/issues/detail?id=137
-// CHECK-Linux-STACKTRACE: #0 {{.*}} in f(){{.*}}missing_return.cpp:[[@LINE-1]]
+// CHECK-Linux-STACKTRACE: #0 {{.*}} in f(){{.*}}missing_return.cpp:[[@LINE-3]]
 // Check for already checked line to avoid lit error reports.
 // CHECK-Darwin-STACKTRACE: missing_return.cpp
 }
@@ -14,5 +14,5 @@ int f() {
 int main(int, char **argv) {
   return f();
 // Disabled on Darwin, see above.
-// CHECK-Linux-STACKTRACE: #1 {{.*}} in main{{.*}}missing_return.cpp:[[@LINE-1]]
+// CHECK-Linux-STACKTRACE: #1 {{.*}} in main{{.*}}missing_return.cpp:[[@LINE-2]]
 }





More information about the llvm-commits mailing list