Skip to content
Commit 8c9969ac authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 0e29e29c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment