[pkg-d-commits] [ldc] 87/149: Don't immediately delete generated doc file
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 23 22:37:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.2.0
in repository ldc.
commit badea5a78d9fe1267173e65f1115be76a5e4f455
Author: Martin <noone at nowhere.com>
Date: Mon Feb 6 21:10:28 2017 +0100
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.
---
driver/codegenerator.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/driver/codegenerator.cpp b/driver/codegenerator.cpp
index d2b4fd0..5726ed3 100644
--- a/driver/codegenerator.cpp
+++ b/driver/codegenerator.cpp
@@ -166,7 +166,6 @@ void CodeGenerator::finishLLModule(Module *m) {
*global.params.bitcodeFiles);
}
- m->deleteObjFile();
writeAndFreeLLModule(m->objfile->name->str);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list