[all-commits] [llvm/llvm-project] 2fe0bc: [ELF] --warn-backrefs: --defsym does not make a ba...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Feb 1 17:41:53 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2fe0bca91041eeaedd5ea530e6863f3af42bc2b0
      https://github.com/llvm/llvm-project/commit/2fe0bca91041eeaedd5ea530e6863f3af42bc2b0
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/warn-backrefs.s

  Log Message:
  -----------
  [ELF] --warn-backrefs: --defsym does not make a backward reference

The interaction between --warn-backrefs was not tested, but if
--defsym-created reference causes archive member extraction, it seems
reasonable to suppress the diagnostic, which was the behavior before #78944.

(cherry picked from commit 9a1ca245c8bc60b1ca12cd906fb31130801d977e)




More information about the All-commits mailing list