Skip to content

Commit 22c7fe9

Browse files
committed
dashboard/config/linux: compile with BB information
For x86_64 since v6.13 we have AUTOFDO_CLANG and PROPELLER_CLANG. 1. PROPELLER_CLANG emits .llvm_bb_addr_map section. 2. AUTOFDO_CLANG emits discriminators for line:col. AUTOFDO_CLANG allows to better identify macros/inline cases.
1 parent 40acda8 commit 22c7fe9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dashboard/config/linux/bits/allyes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ config:
5151
- CFI_CLANG: n
5252
- CFI: n
5353
- STACKPROTECTOR: n
54-
- AUTOFDO_CLANG: n
55-
- PROPELLER_CLANG: n
54+
- AUTOFDO_CLANG: [n, override]
55+
- PROPELLER_CLANG: [n, override]
5656
- CPU_MITIGATIONS: n
5757
- LOCKDEP: n
5858
- PROVE_LOCKING: n

dashboard/config/linux/bits/base.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ config:
119119
- DEBUG_INFO_BTF: [-v5.13]
120120
- DEBUG_INFO_REDUCED: n
121121

122+
# PROPELLER_CLANG adds section .llvm_bb_addr_map that is used to get BB details.
123+
# The Discriminators from AUTOFDO_CLANG ensure that line:col info is precise even for macros/inline.
124+
- AUTOFDO_CLANG: [clang, x86_64, v6.13]
125+
- PROPELLER_CLANG: [clang, x86_64, v6.13]
126+
122127
# This should make behavior more deterministic.
123128
- INIT_ON_ALLOC_DEFAULT_ON: [v4.16, -kmsan]
124129

0 commit comments

Comments
 (0)