[all-commits] [llvm/llvm-project] 8ca46b: [ELF] Move isUsedInRegularObj assignment from ctor...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Feb 23 21:33:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8ca46bba23552e04a704daaac87212b554ed7c93
https://github.com/llvm/llvm-project/commit/8ca46bba23552e04a704daaac87212b554ed7c93
Author: Fangrui Song <i at maskray.me>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/SymbolTable.cpp
M lld/ELF/Symbols.cpp
M lld/ELF/Symbols.h
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Move isUsedInRegularObj assignment from ctor to call sites. NFC
This removes the tricky
`isUsedInRegularObj(!file || file->kind() == InputFile::ObjKind)`
and the copy from `Symbol::mergeProperties`.
More information about the All-commits
mailing list