[PATCH] D39739: [HCC] Add flag to Import Weak Functions in Function Importer
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 4 08:01:00 PST 2017
yaxunl added inline comments.
================
Comment at: lib/Transforms/IPO/FunctionImport.cpp:107
+static cl::opt<bool, true>
+ForceImportWeak("force-import-weak", cl::Hidden,
+ cl::desc("Allow weak functions to be imported"),
----------------
Is it possible not to expose this option through extern? Generally these options should be kept static.
Repository:
rL LLVM
https://reviews.llvm.org/D39739
More information about the cfe-commits
mailing list