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

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jan 29 13:26:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a1ca245c8bc60b1ca12cd906fb31130801d977e
      https://github.com/llvm/llvm-project/commit/9a1ca245c8bc60b1ca12cd906fb31130801d977e
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-01-29 (Mon, 29 Jan 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.




More information about the All-commits mailing list