[llvm-bugs] [Bug 32155] New: Os and LLVMgold.so
llvm-bugs at lists.llvm.org
Mon Mar 6 11:52:17 PST 2017
Bug ID: 32155
Summary: Os and LLVMgold.so
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: pirama at google.com
CC: llvm-bugs at lists.llvm.org
Clang driver passes through Os to the Gold plugin as '-plugin-opt=Os'. This is
currently rejected by the plugin. Should we strip the optimization flag (and
default to O2) or transform Os to something else?
In the long term, is it reasonable to support Os and Oz and use it to set
PassManagerBuilder.sizeLevel? From my limited exploration, I didn't see any
pass added in PassManagerBuilder::populateLTOPassManager() that needs to be
disabled for Os. Are there are passes that can be added?
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs