mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-02 18:43:14 +01:00
Adjust LDC to work with the LLVMContext LLVM changes.
This means we now require a fairly new LLVM revision. I use 75234.
This commit is contained in:
@@ -9,7 +9,7 @@ IrModule::IrModule(Module* module, const char* srcfilename)
|
||||
|
||||
LLConstant* slice = DtoConstString(srcfilename);
|
||||
fileName = new llvm::GlobalVariable(
|
||||
slice->getType(), true, LLGlobalValue::InternalLinkage, slice, ".modulefilename", gIR->module);
|
||||
*gIR->module, slice->getType(), true, LLGlobalValue::InternalLinkage, slice, ".modulefilename");
|
||||
}
|
||||
|
||||
IrModule::~IrModule()
|
||||
|
||||
Reference in New Issue
Block a user