[Ubsan] Fix the missing_return.cpp test to pass on FreeBSD
authorViktor Kutuzov <vkutuzov@accesssoftek.com>
Mon, 10 Nov 2014 15:27:13 +0000 (15:27 +0000)
committerViktor Kutuzov <vkutuzov@accesssoftek.com>
Mon, 10 Nov 2014 15:27:13 +0000 (15:27 +0000)
Differential Revision: http://reviews.llvm.org/D6088

llvm-svn: 221597

compiler-rt/test/ubsan/TestCases/Misc/missing_return.cpp

index aa5492b..5d3d54d 100644 (file)
@@ -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
 }