[llvm] r190974 - Encapsulate PassManager debug flags to avoid static init and cxa_exit.
clattner at apple.com
Wed Sep 18 17:51:37 PDT 2013
On Sep 18, 2013, at 4:54 PM, Chandler Carruth <chandlerc at google.com> wrote:
> Andy, this really feels like a hack, and a bad hack at that.
> Where is the requirement for the core library to have no static initializers coming from? What is the support plan here? What problem are you actually trying to fix?
> Just for clarity, I have read the llvmdev thread, and I understand the *general* goal, but this patch itself doesn't seem like a clean incremental step toward that goal, doesn't reference any of the constructs under discussion in that thread.
I totally agree. This seems like a hack that would be resolved by making cl::opt's get compiled out in non-assert builds, which you already described.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits