diff options
Diffstat (limited to 'include/llvm/LTO/Config.h')
-rw-r--r-- | include/llvm/LTO/Config.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/llvm/LTO/Config.h b/include/llvm/LTO/Config.h index 4bd981c090b1..57bba5e34840 100644 --- a/include/llvm/LTO/Config.h +++ b/include/llvm/LTO/Config.h @@ -73,6 +73,14 @@ struct Config { /// Sample PGO profile path. std::string SampleProfile; + /// The directory to store .dwo files. + std::string DwoDir; + + /// The path to write a .dwo file to. This should generally only be used when + /// running an individual backend directly via thinBackend(), as otherwise + /// all .dwo files will be written to the same path. + std::string DwoPath; + /// Optimization remarks file path. std::string RemarksFilename = ""; @@ -82,6 +90,9 @@ struct Config { /// Whether to emit the pass manager debuggging informations. bool DebugPassManager = false; + /// Statistics output file path. + std::string StatsFile; + bool ShouldDiscardValueNames = true; DiagnosticHandlerFunction DiagHandler; |