[Ubsan] Fix the missing_return.cpp test to pass on FreeBSD

Differential Revision: http://reviews.llvm.org/D6088

llvm-svn: 221597
This commit is contained in:
Viktor Kutuzov 2014-11-10 15:27:13 +00:00
parent f686063f57
commit eb5e79550a
1 changed files with 1 additions and 0 deletions

View 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
}