Commit 3d65521
committed
gh-149800: Generate the perf trampoline .eh_frame from the compiled assembly
Extract the .eh_frame the assembler emits for the trampoline object at
build time into trampoline_ehframe.h and patch only the FDE address
fields at runtime. Building with the perf trampoline now needs a host
Python, and configure disables the trampoline with a warning when none
is usable.1 parent 8664afd commit 3d65521
9 files changed
Lines changed: 665 additions & 403 deletions
File tree
- Doc
- howto
- using
- Misc/NEWS.d/next/Build
- Python
- Tools/jit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3185 | 3185 | | |
3186 | 3186 | | |
3187 | 3187 | | |
3188 | | - | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
| 3192 | + | |
| 3193 | + | |
| 3194 | + | |
3189 | 3195 | | |
3190 | 3196 | | |
| 3197 | + | |
3191 | 3198 | | |
3192 | 3199 | | |
3193 | 3200 | | |
| |||
3289 | 3296 | | |
3290 | 3297 | | |
3291 | 3298 | | |
| 3299 | + | |
3292 | 3300 | | |
3293 | 3301 | | |
3294 | 3302 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments