[all-commits] [llvm/llvm-project] 8c1ea1: [lld/mac] Don't emit stabs entries for functions f...

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Apr 7 05:09:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c1ea1ab815f84b69de77ed666b94901f23cc79d
      https://github.com/llvm/llvm-project/commit/8c1ea1ab815f84b69de77ed666b94901f23cc79d
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-04-07 (Thu, 07 Apr 2022)

  Changed paths:
    M lld/MachO/InputSection.cpp
    M lld/MachO/Symbols.cpp
    M lld/MachO/Symbols.h
    M lld/MachO/SyntheticSections.cpp
    A lld/test/MachO/stabs-icf.s

  Log Message:
  -----------
  [lld/mac] Don't emit stabs entries for functions folded during ICF

This matches ld64, and makes dsymutil work better with lld's output.
Fixes PR54783, see there for details.

Reduces time needed to run dsymutil on Chromium Framework from 8m30s
(which is already down from 26 min with D123218) to 6m30s and removes
many lines of "could not find object file symbol for symbol" from dsymutil output
(previously: several MB of those messages, now dsymutil is completely silent).

Differential Revision: https://reviews.llvm.org/D123252




More information about the All-commits mailing list