-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Works around ORCv1 removal by returning to MCJIT. Includes an update to the Makefile to improve compatibility on a variety of systems and linkers. Co-authored-by: Elliott Slaughter <[email protected]>
- Loading branch information
1 parent
d8d9078
commit 13b8b11
Showing
8 changed files
with
137 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#include "llvm/IR/DerivedTypes.h" | ||
#include "llvm/IR/LLVMContext.h" | ||
#include "llvm/IR/Module.h" | ||
#include "llvm/IR/IRBuilder.h" | ||
#include "llvm/IR/DataLayout.h" | ||
#include "llvm/IR/Instructions.h" | ||
#include "llvm/IR/IntrinsicInst.h" | ||
#include "llvm/IR/InlineAsm.h" | ||
#include "llvm/Analysis/CallGraphSCCPass.h" | ||
#include "llvm/Analysis/CallGraph.h" | ||
#include "llvm/IR/DIBuilder.h" | ||
#include "llvm/IR/DebugInfo.h" | ||
#include "llvm/IR/Mangler.h" | ||
//#include "llvm/ExecutionEngine/ObjectImage.h" | ||
#include "llvm/IR/Verifier.h" | ||
#include "llvm/Linker/Linker.h" | ||
#include "llvm/IR/CFG.h" | ||
#include "llvm/IR/InstVisitor.h" | ||
#include "llvm/CodeGen/TargetSubtargetInfo.h" | ||
|
||
#include "llvm/Support/VirtualFileSystem.h" | ||
#include "clang/Rewrite/Core/Rewriter.h" | ||
#include "clang/Rewrite/Frontend/Rewriters.h" | ||
#include "llvm/IR/DiagnosticPrinter.h" | ||
#include "llvm/Analysis/TargetTransformInfo.h" | ||
#include "llvm/Object/SymbolSize.h" | ||
|
||
#include "llvm/Bitcode/BitcodeReader.h" | ||
#include "llvm/Support/Error.h" | ||
|
||
#define LLVM_PATH_TYPE std::string | ||
#define RAW_FD_OSTREAM_NONE sys::fs::F_None | ||
#define RAW_FD_OSTREAM_BINARY sys::fs::F_None | ||
#define HASFNATTR(attr) \ | ||
getAttributes().hasAttribute(AttributeSet::FunctionIndex, Attribute ::attr) | ||
#define ADDFNATTR(attr) addFnAttr(Attribute ::attr) | ||
#define ATTRIBUTE Attributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters