[all-commits] [llvm/llvm-project] a25887: ELFObjectWriter: Optimize isInSymtab
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jul 2 19:35:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a25887077bd52754d66d837da4778339eff4f764
https://github.com/llvm/llvm-project/commit/a25887077bd52754d66d837da4778339eff4f764
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M llvm/lib/MC/ELFObjectWriter.cpp
Log Message:
-----------
ELFObjectWriter: Optimize isInSymtab
Drop `OWriter.Renames.count(&Symbol)` from the fast path
(Used||Signature).
Place the two equated symbol (isVariable()) conditions together.
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