[all-commits] [llvm/llvm-project] 6d4aa9: [BOLT][DWWARF] Fix foreign TU index with local TUs...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Mon Mar 11 12:20:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d4aa9d70e4808498584cc61a295c0b93310196d
      https://github.com/llvm/llvm-project/commit/6d4aa9d70e4808498584cc61a295c0b93310196d
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M bolt/lib/Core/DebugNames.cpp
    A bolt/test/X86/Inputs/dwarf5-debug-names-ftu-ltu-mix-helper.s
    A bolt/test/X86/Inputs/dwarf5-debug-names-ftu-ltu-mix-helper1.s
    A bolt/test/X86/Inputs/dwarf5-df-debug-names-ftu-ltu-mix-main.s
    A bolt/test/X86/dwarf5-df-main-debug-names-ftu-ltu-mix.test

  Log Message:
  -----------
  [BOLT][DWWARF] Fix foreign TU index with local TUs (#84594)

The foreign TU list immediately follows the local TU list and they both
use the same index, so that if there are N local TU entries, the index
for the first foreign TU is N.

Changed so that the size of local TU is accounted for when setting
foreign TU index.



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