diff options
-rw-r--r-- | llvm/include/llvm/LTO/LTOCodeGenerator.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/include/llvm/LTO/LTOCodeGenerator.h b/llvm/include/llvm/LTO/LTOCodeGenerator.h index 53fd0ace0c8..11ea1253dd3 100644 --- a/llvm/include/llvm/LTO/LTOCodeGenerator.h +++ b/llvm/include/llvm/LTO/LTOCodeGenerator.h @@ -39,6 +39,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/StringMap.h" +#include "llvm/ADT/StringSet.h" #include "llvm/IR/GlobalValue.h" #include "llvm/IR/Module.h" #include "llvm/Target/TargetMachine.h" @@ -185,8 +186,6 @@ private: void emitError(const std::string &ErrMsg); - typedef StringMap<uint8_t> StringSet; - LLVMContext &Context; std::unique_ptr<Module> MergedModule; std::unique_ptr<Linker> TheLinker; @@ -194,8 +193,8 @@ private: bool EmitDwarfDebugInfo = false; bool ScopeRestrictionsDone = false; Reloc::Model RelocModel = Reloc::Default; - StringSet MustPreserveSymbols; - StringSet AsmUndefinedRefs; + StringSet<> MustPreserveSymbols; + StringSet<> AsmUndefinedRefs; StringMap<GlobalValue::LinkageTypes> ExternalSymbols; std::vector<std::string> CodegenOptions; std::string FeatureStr; |