projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588e72d
)
Instead of producing calls to setjmp/longjmp, produce uses of the
author
Chris Lattner
<sabre@nondot.org>
Sun, 15 Feb 2004 22:24:27 +0000
(22:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 15 Feb 2004 22:24:27 +0000
(22:24 +0000)
llvm.setjmp/llvm.longjmp intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11482
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/LowerInvoke.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LowerInvoke.cpp
b/lib/Transforms/Utils/LowerInvoke.cpp
index 43618266cb774fbfa132158fbfde6c096f9b98fb..d42d0533f1c4521bf42f4a8aaa796ba495ebc78e 100644
(file)
--- a/
lib/Transforms/Utils/LowerInvoke.cpp
+++ b/
lib/Transforms/Utils/LowerInvoke.cpp
@@
-108,9
+108,9
@@
bool LowerInvoke::doInitialization(Module &M) {
GlobalValue::LinkOnceLinkage,
Constant::getNullValue(PtrJBList),
"llvm.sjljeh.jblist", &M);
- SetJmpFn = M.getOrInsertFunction("setjmp", Type::IntTy,
+ SetJmpFn = M.getOrInsertFunction("
llvm.
setjmp", Type::IntTy,
PointerType::get(JmpBufTy), 0);
- LongJmpFn = M.getOrInsertFunction("longjmp", Type::VoidTy,
+ LongJmpFn = M.getOrInsertFunction("l
lvm.l
ongjmp", Type::VoidTy,
PointerType::get(JmpBufTy),
Type::IntTy, 0);