forked from OSchip/llvm-project
[ubsan] Follow-up for r216657: fixed the line numbers in the test.
llvm-svn: 216661
This commit is contained in:
parent
efd4363172
commit
2164fa3b9b
|
@ -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]]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue