[all-commits] [llvm/llvm-project] 6d8c6e: [BOLT][NFC] Simplify doTrace in BAT mode (#143233)

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri Jun 20 12:45:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d8c6ef90c1a4d17d764c4479d5165251bf07c95
      https://github.com/llvm/llvm-project/commit/6d8c6ef90c1a4d17d764c4479d5165251bf07c95
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M bolt/lib/Profile/BoltAddressTranslation.cpp
    M bolt/lib/Profile/DataAggregator.cpp

  Log Message:
  -----------
  [BOLT][NFC] Simplify doTrace in BAT mode (#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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list