forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BOLT][NFC] Add timers for MetadataManager invocations
Test Plan: added bolt/test/timers.c Reviewers: ayermolo, maksfb, rafaelauler, dcci Reviewed By: dcci Pull Request: llvm#101267
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* This test checks timers for metadata manager phases. | ||
# RUN: %clang %cflags %s -o %t.exe | ||
# RUN: link_fdata %s %t.exe %t.fdata | ||
# RUN: llvm-bolt %t.exe -o %t.null --data %t.fdata -w %t.yaml --time-rewrite \ | ||
# RUN: 2>&1 | FileCheck %s | ||
# CHECK-DAG: update metadata post-emit | ||
# CHECK-DAG: process section metadata | ||
# CHECK-DAG: process metadata pre-CFG | ||
# CHECK-DAG: process metadata post-CFG | ||
# CHECK-DAG: finalize metadata pre-emit | ||
# FDATA: 0 [unknown] 0 1 main 0 1 0 | ||
*/ | ||
int main() { return 0; } |