[llvm-branch-commits] [llvm] [BOLT] Output YAML profile in BAT mode (PR #76910)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 3 21:26:00 PST 2024


https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/76910

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).

Test Plan: Added bolt/test/X86/bolt-address-translation-yaml.test





More information about the llvm-branch-commits mailing list