mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Don't reset gTargetData after compiling a module. Fixes segfault when
compiling more than one file.
This commit is contained in:
@@ -242,7 +242,6 @@ void Module::genobjfile(int multiobj)
|
||||
}
|
||||
|
||||
delete ir.module;
|
||||
gTargetData = 0;
|
||||
gIR = NULL;
|
||||
|
||||
if (llvmForceLogging && !logenabled)
|
||||
|
||||
Reference in New Issue
Block a user