[all-commits] [llvm/llvm-project] c0d954: [BOLT] Ignore duplicate global symbols

Rafael Auler via All-commits all-commits at lists.llvm.org
Wed Oct 19 11:52:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0d954a068a1896f2673f2fadec72bb01a243aaa
      https://github.com/llvm/llvm-project/commit/c0d954a068a1896f2673f2fadec72bb01a243aaa
  Author: Rafael Auler <rafaelauler at fb.com>
  Date:   2022-10-19 (Wed, 19 Oct 2022)

  Changed paths:
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Ignore duplicate global symbols

We noticed some binaries with duplicated global symbol
entries (same name, address and size). Ignore them as it is possibly a
bug in the linker, and continue processing, unless the symbol has a
different size or address.

Reviewed By: #bolt, maksfb

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




More information about the All-commits mailing list