mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-01 20:10:04 +02:00
Add changes for LLVM 3.2
- The Attributes class was changed again - TargetData was renamed to DataLayout Compiles again with LLVm 3.0, 3.1 and trunk(3.2).
This commit is contained in:
@@ -31,7 +31,11 @@ struct TargetABI;
|
||||
|
||||
extern IRState* gIR;
|
||||
extern llvm::TargetMachine* gTargetMachine;
|
||||
extern const llvm::TargetData* gTargetData;
|
||||
#if LDC_LLVM_VER >= 302
|
||||
extern const llvm::DataLayout* gDataLayout;
|
||||
#else
|
||||
extern const llvm::TargetData* gDataLayout;
|
||||
#endif
|
||||
extern TargetABI* gABI;
|
||||
|
||||
struct TypeFunction;
|
||||
|
||||
Reference in New Issue
Block a user