Instead of manually invoking PrintStatistics, simply invoke
llvm_shutdown which will take care of destroying managed statics, and as
a side effect will destroy the StatisticInfo ManagedStatic, invoking
PrintStatistics when needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 17222 Build 17222: arc lint + arc unit
Event Timeline
Comment Actions
BTW confirmed that the test that I added with the 2 lines being removed here fails when I don't have anything here, but passes again with the llvm_shutdown call.