diff options
Diffstat (limited to 'ELF/InputFiles.h')
-rw-r--r-- | ELF/InputFiles.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ELF/InputFiles.h b/ELF/InputFiles.h index f6d3f907850c..006218b45d9e 100644 --- a/ELF/InputFiles.h +++ b/ELF/InputFiles.h @@ -24,6 +24,7 @@ #include "llvm/Object/Archive.h" #include "llvm/Object/ELF.h" #include "llvm/Object/IRObjectFile.h" +#include "llvm/Support/Threading.h" #include <map> @@ -211,6 +212,7 @@ private: // single object file, so we cache debugging information in order to // parse it only once for each object file we link. std::unique_ptr<llvm::DWARFDebugLine> DwarfLine; + llvm::once_flag InitDwarfLine; }; // LazyObjectFile is analogous to ArchiveFile in the sense that |