-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As of this merge there are the following known issues with the LLVM 10 and 11 support: * #476 cannot include immintrin.h * #477 test failures in LLVM 11 when dynamically linked * #479 tests fail on macOS with LLVM >= 10
- Loading branch information
1 parent
0e6738c
commit 968c816
Showing
20 changed files
with
350 additions
and
65 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
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
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 |
Oops, something went wrong.