Parse inline assembly.
This commit is contained in:
parent
4e350c7ce7
commit
ecccc0d649
19 changed files with 72 additions and 8 deletions
|
@ -15,6 +15,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===
|
||||
|
||||
#include "llvm/InlineAsm.h"
|
||||
#include "llvm/LLVMContext.h"
|
||||
#include "llvm/Linker.h"
|
||||
#include "llvm/PassManager.h"
|
||||
|
@ -539,3 +540,14 @@ extern "C" void LLVMSetDebug(int Enabled) {
|
|||
DebugFlag = Enabled;
|
||||
#endif
|
||||
}
|
||||
|
||||
extern "C" LLVMValueRef LLVMInlineAsm(LLVMTypeRef Ty,
|
||||
char *AsmString,
|
||||
char *Constraints,
|
||||
LLVMBool HasSideEffects,
|
||||
LLVMBool IsAlignStack) {
|
||||
return wrap(InlineAsm::get(unwrap<FunctionType>(Ty), AsmString,
|
||||
Constraints, HasSideEffects,
|
||||
IsAlignStack));
|
||||
// IsAlignStack, InlineAsm::AD_Intel));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue