[all-commits] [llvm/llvm-project] 5ae39d: [lld/mac] Fix bug in interaction of -dead_strip an...

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Jul 22 16:31:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ae39d4f9773214a55b2166bb7bbf3a6d83ecf34
      https://github.com/llvm/llvm-project/commit/5ae39d4f9773214a55b2166bb7bbf3a6d83ecf34
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M lld/MachO/Symbols.h
    M lld/MachO/Writer.cpp
    M lld/test/MachO/dead-strip.s

  Log Message:
  -----------
  [lld/mac] Fix bug in interaction of -dead_strip and -undefined dynamic_lookup

We lost the `used` bit on the Undefined when we replaced it with a DylibSymbol
in treatUndefined().

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




More information about the All-commits mailing list