[LLVMdev] Static ctors in llvm::Attribute
dblaikie at gmail.com
Tue Feb 7 14:49:09 PST 2012
> Can you take a look at this? It's a pretty big problem for LLDB and other clients that use -Wstatic-constructor.
Once we clean this up - should we add -Wglobal-constructors to the
LLVM build itself to avoid/highlight such regressions in the future?
(a cursory build with that option on shows we do have a few violations
- so perhaps it's not a universal rule - is it bad enough we should
suppress it on a case-by-case basis?)
More information about the llvm-dev