[llvm-commits] [PATCH][docs/CommandGuide] Reveal there is a "-help-hidden" option for opt command
clattner at apple.com
Mon Oct 24 16:17:08 CDT 2011
On Oct 24, 2011, at 6:31 AM, Duncan Sands wrote:
>>> I think it would be best to make -inline-threshold not be hidden. I suspect
>>> there are a bunch of hidden options that shouldn't be hidden, and a bunch of
>>> not hidden options that should be hidden. I think you shouldn't hesitate to
>>> send patches that change the hidden flag.
>> Should we discuss which options should be hidden or not hidden on
>> LLVMdev mailing list? I want to collect developers' comment on this.
> These seem like candidates:
> That said, these risk encouraging people to fiddle with thresholds rather than
> reporting bugs about inlining (or whatever) not doing a good job automatically.
I'd be fine with exposing these out through (e.g.) opt. However, the "units" are subject to change in the future, which is why they aren't public "knobs". They certainly shouldn't be exposed out through clang or otherwise to end-users of the compiler.
More information about the llvm-commits