[all-commits] [llvm/llvm-project] 00dd2d: [ELF] --symbol-ordering-file: remove weird !lazy c...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jan 5 02:04:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00dd2d15a40b0fe9916bb55a48f264498d8fe910
      https://github.com/llvm/llvm-project/commit/00dd2d15a40b0fe9916bb55a48f264498d8fe910
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

  Changed paths:
    M lld/ELF/Writer.cpp
    M lld/test/ELF/symbol-ordering-file-warnings.s

  Log Message:
  -----------
  [ELF] --symbol-ordering-file: remove weird !lazy condition for "no such symbol" diagnostic

The diagnostic is emitted for an unextracted lazy symbol but suppressed for an
undefined symbol. Suppressing the diagnostic for unextracted lazy symbol
probably makes more sense because (a) an unextracted lazy symbol is quite
similar to an undefined symbol and (b) an unextracted lazy symbol is different
from "no such symbol".




More information about the All-commits mailing list