[PATCH] D123252: [lld/mac] Don't emit stabs entries for functions folded during ICF

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 13:39:04 PDT 2022


thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added a reviewer: JDevlieghere.
Herald added projects: lld-macho, All.
thakis requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

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
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).


https://reviews.llvm.org/D123252

Files:
  lld/MachO/Symbols.cpp
  lld/MachO/Symbols.h
  lld/MachO/SyntheticSections.cpp
  lld/test/MachO/stabs-icf.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123252.421000.patch
Type: text/x-patch
Size: 5503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220406/073d71e8/attachment.bin>


More information about the llvm-commits mailing list