summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/LTO/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/LTO/Config.h')
-rw-r--r--llvm/include/llvm/LTO/Config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/LTO/Config.h b/llvm/include/llvm/LTO/Config.h
index 315af33a91a..e3d1fb2d860 100644
--- a/llvm/include/llvm/LTO/Config.h
+++ b/llvm/include/llvm/LTO/Config.h
@@ -52,6 +52,9 @@ struct Config {
unsigned OptLevel = 2;
bool DisableVerify = false;
+ /// Disable entirely the optimizer, including importing for ThinLTO
+ bool CodeGenOnly = false;
+
/// Setting this field will replace target triples in input files with this
/// triple.
std::string OverrideTriple;
OpenPOWER on IntegriCloud