Change the implementation of statistic to not need destructors at all.
Instead, the stat info is printed when llvm_shutdown() is called. These also don't need static ctors, but getting rid of them is uglier: still investigating. This reduces the number of static dtors in llvm from ~1400 to ~750. llvm-svn: 32372
Loading
Please register or sign in to comment