mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 10:57:35 +03:00
Don't immediately delete generated doc file
Just before writing the object file. Module::deleteObjFile() deletes the doc file too, and generating the docs happens in a prior pass before codegen. deleteObjFile() is already called in mars.d, after reading the source file, before the generate-doc pass. Fixes dmd-testsuite's runnable/test_switches.sh.
This commit is contained in:
parent
84e74e3932
commit
badea5a78d
1 changed files with 0 additions and 1 deletions
|
@ -166,7 +166,6 @@ void CodeGenerator::finishLLModule(Module *m) {
|
|||
*global.params.bitcodeFiles);
|
||||
}
|
||||
|
||||
m->deleteObjFile();
|
||||
writeAndFreeLLModule(m->objfile->name->str);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue