[all-commits] [llvm/llvm-project] 71de61: [lld][MachO] Prevent doubled N_SO when comp_dir an...

Daniel Thornburgh via All-commits all-commits at lists.llvm.org
Wed Nov 8 15:55:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71de61259a513120796c294568754b0b9e2ee085
      https://github.com/llvm/llvm-project/commit/71de61259a513120796c294568754b0b9e2ee085
  Author: Daniel Thornburgh <dthorn at google.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    M lld/test/MachO/stabs.s

  Log Message:
  -----------
  [lld][MachO] Prevent doubled N_SO when comp_dir and name absolute (#71608)

When forming MachO STABS, this change detects if the DW_AT_name of the
compile unit is already absolute (as allowed by DWARF), and if so, does
not prepend DW_AT_comp_dir.

Fixes #70995




More information about the All-commits mailing list