diff options
| author | Amir Ayupov <aaupov@fb.com> | 2025-06-20 14:29:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 14:29:32 -0700 |
| commit | f0d32575a1193741bc9ca90e5beced693cba28b0 (patch) | |
| tree | a43a8b285d93cfb7d0dfa5fa8e2f3cb21cd2251d /lldb/packages/Python/lldbsuite/test/configuration.py | |
| parent | 5886f0a18342457f142871ef73f40fc27f936d9b (diff) | |
| download | llvm-f0d32575a1193741bc9ca90e5beced693cba28b0.zip llvm-f0d32575a1193741bc9ca90e5beced693cba28b0.tar.gz llvm-f0d32575a1193741bc9ca90e5beced693cba28b0.tar.bz2 | |
[BOLT][NFCI] Use FileSymbols for local symbol disambiguation (#89088)
Remove SymbolToFileName mapping from every local symbol to its
containing FILE symbol name, and reuse FileSymbols to disambiguate
local symbols instead.
Also removes the check for `ld-temp.o` file symbol which was added to
prevent LTO build mode from affecting the disambiguated name. This may
cause incompatibility when using the profile collected on a binary built
in a different mode than the input binary.
Addresses #90661.
Speeds up discover file objects by 5-10% for large binaries:
- binary with ~1.2M symbols: 12.6422s -> 12.0297s
- binary with ~4.5M symbols: 48.8851s -> 43.7315s
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions
