Amir Ayupov
6280681137
[BOLT] Output basic YAML profile in BAT mode
...
Relax assumptions that YAML output is not supported in BAT mode.
Set up basic infrastructure for emitting YAML for functions not covered
by BAT, such as from `.bolt.org.text` section (code identical to input binary
sans external refs), or non-rewritten functions in non-relocation mode (where
the function stays in the same section but BAT mapping is not emitted).
This diff only produces YAML profile for non-BAT functions (skipped,
non-simple). YAML profile for BAT functions is added in follow-up diffs:
- https://github.com/llvm/llvm-project/pull/76911 emits YAML profile with
internal control flow information only (branch profile),
- https://github.com/llvm/llvm-project/pull/76896 adds cross-function profile
(calls profile).
Test Plan: Added bolt/test/X86/bolt-address-translation-yaml.test
Reviewers: ayermolo, dcci, maksfb, rafaelauler
Reviewed By: rafaelauler
Pull Request: https://github.com/llvm/llvm-project/pull/76910
2024-03-21 14:32:13 -07:00
..
2024-03-21 14:32:13 -07:00
2024-03-21 14:32:13 -07:00
2024-03-21 14:32:13 -07:00
2023-12-11 12:27:32 -08:00
2023-12-11 12:27:32 -08:00
2023-07-30 17:32:32 -07:00
2023-08-14 17:27:22 -07:00
2023-07-10 14:42:04 -07:00
2023-07-10 14:42:04 -07:00
2024-01-24 15:34:29 -08:00
2024-01-24 15:34:29 -08:00
2023-07-13 10:50:19 -07:00
2023-08-08 18:21:24 -07:00
2023-08-08 18:21:24 -07:00
2023-08-08 18:20:06 -07:00
2023-07-30 17:32:32 -07:00
2023-07-31 17:12:07 -07:00
2023-08-03 10:34:21 -07:00
2023-07-13 10:54:48 -07:00
2023-07-30 17:32:32 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-30 17:32:32 -07:00
2023-07-30 17:32:32 -07:00
2023-07-30 17:32:32 -07:00
2023-08-14 17:27:22 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-12-14 17:27:21 -08:00
2023-11-09 11:29:46 -08:00
2023-07-06 11:37:08 -07:00
2023-07-06 11:37:08 -07:00
2023-07-06 11:37:08 -07:00
2024-01-24 15:34:29 -08:00
2024-03-11 12:20:25 -07:00
2024-03-11 12:20:25 -07:00
2024-02-26 14:00:31 -08:00
2024-02-26 14:00:31 -08:00
2023-08-08 18:21:24 -07:00
2023-08-08 18:21:24 -07:00
2023-08-08 18:20:06 -07:00
2023-06-01 12:06:47 -07:00
2023-06-01 12:06:47 -07:00
2024-03-11 12:20:25 -07:00
2024-02-26 14:00:31 -08:00
2024-02-26 14:00:31 -08:00
2023-07-31 17:12:07 -07:00
2023-07-31 17:12:07 -07:00
2023-07-31 17:12:07 -07:00
2023-08-03 10:34:21 -07:00
2023-11-10 13:18:57 -08:00
2023-11-10 13:18:57 -08:00
2024-02-26 14:00:31 -08:00
2024-02-26 14:00:31 -08:00
2023-11-28 15:54:14 -08:00
2023-11-28 15:54:14 -08:00
2023-07-30 17:32:32 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2024-02-16 11:23:28 -08:00
2024-02-16 11:23:28 -08:00
2023-04-17 17:56:08 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:04 -07:00
2023-07-10 14:42:04 -07:00
2023-07-06 16:46:09 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-08-14 17:27:22 -07:00
2023-01-24 15:55:03 -08:00
2023-07-06 16:46:09 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-10 14:42:03 -07:00
2023-07-30 17:32:32 -07:00
2023-07-30 17:32:32 -07:00
2023-07-30 17:32:32 -07:00
2024-02-26 14:00:31 -08:00
2024-02-26 14:00:31 -08:00
2023-07-10 14:42:03 -07:00
2023-12-14 17:27:21 -08:00
2022-11-04 13:20:11 -07:00
2023-11-09 11:29:46 -08:00
2023-01-25 11:43:10 -08:00
2023-09-07 17:09:45 -07:00
2022-10-25 11:03:52 -07:00
2023-06-08 04:17:07 -07:00