[compiler-rt] r221597 - [Ubsan] Fix the missing_return.cpp test to pass on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Nov 10 07:27:13 PST 2014


Author: vkutuzov
Date: Mon Nov 10 09:27:13 2014
New Revision: 221597

URL: http://llvm.org/viewvc/llvm-project?rev=221597&view=rev
Log:
[Ubsan] Fix the missing_return.cpp test to pass on FreeBSD
Differential Revision: http://reviews.llvm.org/D6088

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=221597&r1=221596&r2=221597&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/missing_return.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Misc/missing_return.cpp Mon Nov 10 09:27:13 2014
@@ -7,6 +7,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-3]]
+// CHECK-FreeBSD-STACKTRACE: #0 {{.*}} in f(void){{.*}}missing_return.cpp:[[@LINE-4]]
 // Check for already checked line to avoid lit error reports.
 // CHECK-Darwin-STACKTRACE: missing_return.cpp
 }





More information about the llvm-commits mailing list