[all-commits] [llvm/llvm-project] 268813: [ELF] maybeWarnUnorderableSymbol: drop redundant `...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun May 3 13:03:48 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 268813df7fc9666e4b50b95aaf463937805554f5
https://github.com/llvm/llvm-project/commit/268813df7fc9666e4b50b95aaf463937805554f5
Author: Fangrui Song <i at maskray.me>
Date: 2026-05-03 (Sun, 03 May 2026)
Changed paths:
M lld/ELF/Symbols.cpp
M lld/test/ELF/symbol-ordering-file-warnings.s
Log Message:
-----------
[ELF] maybeWarnUnorderableSymbol: drop redundant `d &&`, assert isShared. NFC (#195543)
Test Defined first via dyn_cast. Lazy/Common/Placeholder cannot reach
here: readCallGraph runs after replaceCommonSymbols, buildSectionOrder
runs after demoteSymbolsAndComputeIsPreemptible, and redirectSymbols
detaches Placeholder foo at v1 stubs from objectFiles.
In symbol-ordering-file-warnings.s, add a common-symbol case and use
`count 0` for empty-output checks.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list