[all-commits] [llvm/llvm-project] f3cfe0: [BOLT][DWARF] Add support for cross-cu references ...

Alexander Yermolovich via All-commits all-commits at lists.llvm.org
Fri Mar 22 13:49:11 PDT 2024


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

  Changed paths:
    M bolt/include/bolt/Core/DebugNames.h
    M bolt/lib/Core/DIEBuilder.cpp
    M bolt/lib/Core/DebugNames.cpp
    A bolt/test/X86/dwarf5-debug-names-cross-cu.s

  Log Message:
  -----------
  [BOLT][DWARF] Add support for cross-cu references for debug-names (#86015)

The DW_AT_abstract_origin can be a cross-cu reference as a by-product of
LTO. On IR level for absolute references an address is stored, vs a DIE
for relative references. Added a map to keep track of cross-cu
referenced DIEs to use when we add an Entry.



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