diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-09 02:44:20 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-09 02:44:20 +0000 |
commit | 2d7fbbc7be6c78370d2d7cc37fe7a8277ac0ff10 (patch) | |
tree | fabe45888153f28c32b23543797fbda7857322b6 /clang/lib/Lex/ModuleMap.cpp | |
parent | 03f7e611c625de0b5509ee975ca01ff95525a7b6 (diff) | |
download | bcm5719-llvm-2d7fbbc7be6c78370d2d7cc37fe7a8277ac0ff10.tar.gz bcm5719-llvm-2d7fbbc7be6c78370d2d7cc37fe7a8277ac0ff10.zip |
[modules] Don't leak -M flags for dependency file generation into the module
build process when we implicitly build a module. Previously, we'd create the
specified .d file once for each implicitly-built module and then finally
overwrite it with the correct contents after the requested build completes.
(This fails if you use stdout as a dependency file, which is what the provided
testcase does, and is how I discovered this brokenness.)
llvm-svn: 244412
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions