[all-commits] [llvm/llvm-project] 15dc93: [lld-macho] Ignore LLVM segments to prevent duplic...

Vincent Lee via All-commits all-commits at lists.llvm.org
Mon Aug 16 12:41:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15dc93e61c21abe1966484cd3f091d63616f29ab
      https://github.com/llvm/llvm-project/commit/15dc93e61c21abe1966484cd3f091d63616f29ab
  Author: Vincent Lee <leevince at fb.com>
  Date:   2021-08-16 (Mon, 16 Aug 2021)

  Changed paths:
    M lld/MachO/InputFiles.cpp
    A lld/test/MachO/discard-llvm-sections.s

  Log Message:
  -----------
  [lld-macho] Ignore LLVM segments to prevent duplicate syms

There was an instance of a third-party archive containing multiple
_llvm symbols from different files that clashed with each other
producing duplicate symbols. Symbols under the LLVM segment
don't seem to be producing any meaningful value, so just ignore them.

Reviewed By: #lld-macho, int3

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




More information about the All-commits mailing list