Fix rdar-13338477 test-case for Linux.
- Using __builtin_trap confuses the stack unwinder - __builtin_trap specific test will be added shortly llvm-svn: 181441
This commit is contained in:
parent
8e110ce57c
commit
32052b62ae
|
@ -7,11 +7,11 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void bar(int const *foo) {
|
||||
__builtin_trap(); // Set break point at this line.
|
||||
bool bar(int const *foo) {
|
||||
return foo != 0; // Set break point at this line.
|
||||
}
|
||||
|
||||
int main() {
|
||||
int foo[] = {1,2,3};
|
||||
bar(foo);
|
||||
return bar(foo);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue