[all-commits] [llvm/llvm-project] bcc1e5: [ELF] Allow --symbol-ordering-file and call graph ...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Jan 5 17:13:46 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bcc1e584483c8246b651290b0c2d696bd57006a9
https://github.com/llvm/llvm-project/commit/bcc1e584483c8246b651290b0c2d696bd57006a9
Author: Fangrui Song <i at maskray.me>
Date: 2025-01-05 (Sun, 05 Jan 2025)
Changed paths:
M lld/ELF/CallGraphSort.cpp
M lld/ELF/Driver.cpp
M lld/ELF/Writer.cpp
A lld/test/ELF/cgprofile-orderfile.s
Log Message:
-----------
[ELF] Allow --symbol-ordering-file and call graph profile to be used together
Port https://reviews.llvm.org/D117354 from the MachO port.
If both --symbol-ordering-file and call graph profile are present, the
--symbol-ordering-file takes precedence, but the call graph profile is
still used for symbols that don't appear in the order file.
In addition, call graph profile described sections are now ordered
before other sections.
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