diff options
Diffstat (limited to 'include/llvm/LTO/LTO.h')
| -rw-r--r-- | include/llvm/LTO/LTO.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/LTO/LTO.h b/include/llvm/LTO/LTO.h index d678a68ed8605..2a2b598472813 100644 --- a/include/llvm/LTO/LTO.h +++ b/include/llvm/LTO/LTO.h @@ -71,7 +71,7 @@ std::string getThinLTOOutputFile(const std::string &Path, const std::string &NewPrefix); /// Setup optimization remarks. -Expected<std::unique_ptr<tool_output_file>> +Expected<std::unique_ptr<ToolOutputFile>> setupOptimizationRemarks(LLVMContext &Context, StringRef LTORemarksFilename, bool LTOPassRemarksWithHotness, int Count = -1); @@ -126,6 +126,7 @@ public: using irsymtab::Symbol::getCommonSize; using irsymtab::Symbol::getCommonAlignment; using irsymtab::Symbol::getCOFFWeakExternalFallback; + using irsymtab::Symbol::getSectionName; using irsymtab::Symbol::isExecutable; }; @@ -278,7 +279,6 @@ private: unsigned ParallelCodeGenParallelismLevel; LTOLLVMContext Ctx; - bool HasModule = false; std::unique_ptr<Module> CombinedModule; std::unique_ptr<IRMover> Mover; @@ -371,8 +371,7 @@ private: const SymbolResolution *&ResI, const SymbolResolution *ResE); Error runRegularLTO(AddStreamFn AddStream); - Error runThinLTO(AddStreamFn AddStream, NativeObjectCache Cache, - bool HasRegularLTO); + Error runThinLTO(AddStreamFn AddStream, NativeObjectCache Cache); mutable bool CalledGetMaxTasks = false; }; |
