mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-29 02:53:14 +01:00
Fixed toobj.cpp to compile with latest LLVM, seems a method overload was removed recently.
This commit is contained in:
@@ -192,7 +192,7 @@ void Module::genobjfile(int multiobj)
|
||||
if (global.params.disassemble) {
|
||||
Logger::println("Writing LLVM asm to: %s\n", llfile->name->toChars());
|
||||
std::ofstream aos(llpath.c_str());
|
||||
ir.module->print(aos);
|
||||
ir.module->print(aos, NULL);
|
||||
}
|
||||
|
||||
delete ir.module;
|
||||
|
||||
Reference in New Issue
Block a user