diff options
author | Reid Kleckner <rnk@google.com> | 2019-11-14 14:27:48 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-11-14 14:27:48 -0800 |
commit | de3fb1ec055d2edf65f4f476eb2e47a1cbe3565a (patch) | |
tree | beafffebe03038d422ba097ed9205127bf161e06 /lld/COFF/InputFiles.cpp | |
parent | adfad4d7c84657026bc4f96d310c33b9550c4334 (diff) | |
download | bcm5719-llvm-de3fb1ec055d2edf65f4f476eb2e47a1cbe3565a.tar.gz bcm5719-llvm-de3fb1ec055d2edf65f4f476eb2e47a1cbe3565a.zip |
[COFF] Avoid CodeView include in header
Most LLD/COFF files don't care about CodeView. Avoid using CodeView
types in InputFiles.h.
Diffstat (limited to 'lld/COFF/InputFiles.cpp')
-rw-r--r-- | lld/COFF/InputFiles.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/COFF/InputFiles.cpp b/lld/COFF/InputFiles.cpp index 2d8292fc141..ff59f4cee3e 100644 --- a/lld/COFF/InputFiles.cpp +++ b/lld/COFF/InputFiles.cpp @@ -767,7 +767,8 @@ void ObjFile::initializeDependencies() { if (firstType == types.end()) return; - debugTypes.emplace(types); + // Remember the .debug$T or .debug$P section. + debugTypes = data; if (isPCH) { debugTypesObj = makePrecompSource(this); |