llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.03k stars 11.58k forks source link

`--print-memory-usage` equivalent flag for LLD #58487

Open Prabhuk opened 1 year ago

Prabhuk commented 1 year ago

--print-memory-usage flag in GNU ld gives a breakdown of the memory used in each of the memory regions defined in the linker file.

Having this feature will be useful in understanding the size impact especially in embedded systems and constrained targets.

llvmbot commented 1 year ago

@llvm/issue-subscribers-clang-driver