mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Instead of producing calls to setjmp/longjmp, produce uses of the
llvm.setjmp/llvm.longjmp intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
588e72db75
commit
860a16143c
@ -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("llvm.longjmp", Type::VoidTy,
|
||||
PointerType::get(JmpBufTy),
|
||||
Type::IntTy, 0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user