[all-commits] [llvm/llvm-project] 2b129d: [ELF] Optimize parseSymbolVersion
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Dec 8 12:33:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b129dacdde667137b5012d52f1d96e0ab26c749
https://github.com/llvm/llvm-project/commit/2b129dacdde667137b5012d52f1d96e0ab26c749
Author: Fangrui Song <i at maskray.me>
Date: 2024-12-08 (Sun, 08 Dec 2024)
Changed paths:
M lld/ELF/InputFiles.cpp
M lld/ELF/InputFiles.h
M lld/ELF/SymbolTable.cpp
M lld/test/ELF/symver.s
Log Message:
-----------
[ELF] Optimize parseSymbolVersion
We can just scan objectFiles and sharedFiles that have versioned symbols
to skip scanning the global symtab. While we won't suggest __wrap_foo
for undefined __wrap_foo at v1 when --wrap=foo at v1 is specified
(internalFile isn't scanned), this edge case difference is acceptable.
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