Adjust llvm wrapper for unwinding support for inlineasm
This commit is contained in:
parent
940b2eabad
commit
491dd1f387
3 changed files with 6 additions and 2 deletions
|
@ -445,11 +445,12 @@ extern "C" LLVMValueRef
|
|||
LLVMRustInlineAsm(LLVMTypeRef Ty, char *AsmString, size_t AsmStringLen,
|
||||
char *Constraints, size_t ConstraintsLen,
|
||||
LLVMBool HasSideEffects, LLVMBool IsAlignStack,
|
||||
LLVMRustAsmDialect Dialect) {
|
||||
LLVMRustAsmDialect Dialect, LLVMBool CanThrow) {
|
||||
return wrap(InlineAsm::get(unwrap<FunctionType>(Ty),
|
||||
StringRef(AsmString, AsmStringLen),
|
||||
StringRef(Constraints, ConstraintsLen),
|
||||
HasSideEffects, IsAlignStack, fromRust(Dialect)));
|
||||
HasSideEffects, IsAlignStack,
|
||||
fromRust(Dialect), CanThrow));
|
||||
}
|
||||
|
||||
extern "C" bool LLVMRustInlineAsmVerify(LLVMTypeRef Ty, char *Constraints,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue