mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-24 01:43:50 +01:00
[svn r39] * Updated to DMD 1.022 with the exception of:
Bugzilla 278: dmd.conf search path doesn't work This fix was causing crashes for me :/ So for it's the old behaviour
This commit is contained in:
@@ -18,6 +18,10 @@ bool LLVM_D_InitRuntime()
|
||||
Logger::println("*** Loading D runtime ***");
|
||||
LOG_SCOPE;
|
||||
|
||||
if (!global.params.runtimeImppath) {
|
||||
error("You must set the runtime import path with -E");
|
||||
fatal();
|
||||
}
|
||||
std::string filename(global.params.runtimeImppath);
|
||||
filename.append("/llvmdcore.bc");
|
||||
llvm::MemoryBuffer* buffer = llvm::MemoryBuffer::getFile(filename.c_str(), filename.length());
|
||||
|
||||
Reference in New Issue
Block a user