[all-commits] [llvm/llvm-project] c9dbf4: [ELF] Move invalid binding diagnostic from initial...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Mar 16 00:31:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9dbf407af3ebdee7c18a1bb41bd92cae85e6d08
      https://github.com/llvm/llvm-project/commit/c9dbf407af3ebdee7c18a1bb41bd92cae85e6d08
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/test/ELF/invalid/invalid-binding.test
    M lld/test/ELF/invalid/symtab-sh-info-dup.test

  Log Message:
  -----------
  [ELF] Move invalid binding diagnostic from initializeSymbols to postParse

It is excessive to have a diagnostic for STB_LOCAL. Just reuse the invalid
binding diagnostic for STB_LOCAL.




More information about the All-commits mailing list