[PATCH] D131059: [Timer][Statistics] Make global constructor ordering more robust

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 01:19:50 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.
Herald added a subscriber: StephenFan.


================
Comment at: llvm/lib/Support/Timer.cpp:502
 
-void TimerGroup::ConstructTimerLists() {
+void TimerGroup::ConstructForStatistics() {
+  (void)getLibSupportInfoOutputFilename();
----------------
You can use `constructForStatistics` while renaming.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131059/new/

https://reviews.llvm.org/D131059



More information about the llvm-commits mailing list