[llvm-branch-commits] [BOLT][NFC] Simplify doTrace in BAT mode (PR #143233)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 6 22:56:56 PDT 2025


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

`BoltAddressTranslation::getFallthroughsInTrace` iterates over address
translation map entries and therefore has direct access to both original
and translated offsets. Return the translated offsets in fall-throughs
list to avoid duplicate address translation inside `doTrace`.

Test Plan: NFC





More information about the llvm-branch-commits mailing list