[PATCH] D28362: [ThinLTO] Optionally ignore empty index file

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 5 10:42:26 PST 2017


tejohnson added inline comments.


================
Comment at: lib/CodeGen/BackendUtil.cpp:65
+        "Ignore an empty index file and perform non-ThinLTO compilation"),
+    llvm::cl::init(false));
+
----------------
mehdi_amini wrote:
> Is it common to do this in clang?
Doesn't look common, but I see one other LLVM internal option (in CodeGenPGO.cpp), and a few other uses in tests. Is there a better way to do internal options in clang?


https://reviews.llvm.org/D28362





More information about the cfe-commits mailing list