summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Kutuzov <vkutuzov@accesssoftek.com>2014-11-10 15:27:13 +0000
committerViktor Kutuzov <vkutuzov@accesssoftek.com>2014-11-10 15:27:13 +0000
commiteb5e79550a72fd5217f98baa4e5f046fac869d1e (patch)
tree33e3eea1e36500b6cb060d096da664ebdaf88514
parentf686063f57558ad735f33a0678956aeeca8fc386 (diff)
downloadbcm5719-llvm-eb5e79550a72fd5217f98baa4e5f046fac869d1e.tar.gz
bcm5719-llvm-eb5e79550a72fd5217f98baa4e5f046fac869d1e.zip
[Ubsan] Fix the missing_return.cpp test to pass on FreeBSD
Differential Revision: http://reviews.llvm.org/D6088 llvm-svn: 221597
-rw-r--r--compiler-rt/test/ubsan/TestCases/Misc/missing_return.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/ubsan/TestCases/Misc/missing_return.cpp b/compiler-rt/test/ubsan/TestCases/Misc/missing_return.cpp
index aa5492bd7d7..5d3d54de17d 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/missing_return.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/missing_return.cpp
@@ -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
}
OpenPOWER on IntegriCloud