repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
When removing a function from the function set and adding it to deferred, we
[llvm.git]
/
test
/
FrontendC
/
2003-08-06-BuiltinSetjmpLongjmp.c
blob
12b4f7b93329546bb0b144ce88154f45ef55cc89
1
/* RUN: %llvmgcc -xc %s -S -o - | not grep __builtin_
2
*
3
* __builtin_longjmp/setjmp should get transformed into llvm.setjmp/longjmp
4
* just like explicit setjmp/longjmp calls are.
5
*/
6
7
void
jumpaway
(
int
*
ptr
) {
8
__builtin_longjmp
(
ptr
,
1
);
9
}
10
11
int
main
(
void
) {
12
__builtin_setjmp
(
0
);
13
jumpaway
(
0
);
14
}