[all-commits] [llvm/llvm-project] e4e520: [ELF] Make OutputDesc unique_ptr
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Nov 23 17:15:06 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4e5206050a657170892bc400fd4b870e0576ec6
https://github.com/llvm/llvm-project/commit/e4e5206050a657170892bc400fd4b870e0576ec6
Author: Fangrui Song <i at maskray.me>
Date: 2024-11-23 (Sat, 23 Nov 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
Log Message:
-----------
[ELF] Make OutputDesc unique_ptr
Store them in LinkerScript::descPool. This removes a SpecificAlloc
instantiation, makes lld smaller, and drops the small memory waste due
to the separate BumpPtrAllocator.
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