[PATCH] D19015: [LTO] hook up lto_codegen_debug_options() to codegen target options

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 13:22:22 PDT 2016


joker.eph added inline comments.

================
Comment at: tools/lto/lto.cpp:387
@@ -386,1 +386,3 @@
+    TargetOptions Options = InitTargetOptionsFromCodeGenFlags();
+    unwrap(cg)->setTargetOptions(Options);
     parsedOptions = true;
----------------
Why not doing this directly inside `parseCodeGenDebugOptions()`?


http://reviews.llvm.org/D19015





More information about the llvm-commits mailing list