[clang] [Clang][CMake] Support perf, LBR, and Instrument CLANG_BOLT options (PR #69133)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 15 16:14:20 PDT 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 7f881a2abe2c3eceeae0272fc41ba0a237770450..3987088f1b6f6b895f7563ad70c97074b0d4ded0 clang/utils/perf-training/perf-helper.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- perf-helper.py 2023-10-15 23:09:26.000000 +0000
+++ perf-helper.py 2023-10-15 23:14:14.499925 +0000
@@ -109,13 +109,11 @@
description="perf2bolt conversion wrapper for perf.data files",
)
parser.add_argument("bolt", help="Path to llvm-bolt")
parser.add_argument("path", help="Path containing perf.data files")
parser.add_argument("binary", help="Input binary")
- parser.add_argument(
- "--lbr", action="store_true", help="Use LBR perf2bolt mode"
- )
+ parser.add_argument("--lbr", action="store_true", help="Use LBR perf2bolt mode")
opts = parser.parse_args(args)
p2b_args = [
opts.bolt,
opts.binary,
``````````
</details>
https://github.com/llvm/llvm-project/pull/69133
More information about the cfe-commits
mailing list