Commit 6470d1b
authored
[BOLT] Exclude BOLT injected functions from AssignSections. NFCI (llvm#171579)
Assign output sections for injected functions explicitly, and don't
reassign in AssignSections pass.
This change is a prerequisite for further PRs where veneer functions are
created as injected functions and their code section depends on their
placement.1 parent c1fd5ac commit 6470d1b
File tree
3 files changed
+8
-10
lines changed- bolt
- include/bolt/Core
- lib
- Core
- Passes
3 files changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
| 738 | + | |
| 739 | + | |
739 | 740 | | |
740 | 741 | | |
741 | | - | |
742 | | - | |
| 742 | + | |
| 743 | + | |
743 | 744 | | |
744 | 745 | | |
745 | 746 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2598 | 2598 | | |
2599 | 2599 | | |
2600 | 2600 | | |
| 2601 | + | |
| 2602 | + | |
| 2603 | + | |
| 2604 | + | |
2601 | 2605 | | |
2602 | 2606 | | |
2603 | 2607 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1276 | 1276 | | |
1277 | 1277 | | |
1278 | 1278 | | |
1279 | | - | |
1280 | | - | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
1284 | | - | |
1285 | | - | |
1286 | 1279 | | |
1287 | 1280 | | |
1288 | 1281 | | |
| |||
0 commit comments