Skip to content

Commit c551a07

Browse files
committed
.
Created using spr 1.3.5-bogner
1 parent d0f0453 commit c551a07

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lld/docs/ReleaseNotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Non-comprehensive list of changes in this release
2929
ELF Improvements
3030
----------------
3131

32+
* ``--print-gc-sections=<file>`` prints garbage collection section listing to a file.
33+
(`#159706 <https://github.com/llvm/llvm-project/pull/159706>`_)
34+
3235
Breaking changes
3336
----------------
3437

lld/docs/ld.lld.1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,8 @@ Don't use.
522522

523523
.It Fl -print-gc-sections
524524
List removed unused sections.
525+
.It Fl -print-gc-sections Ns = Ns Ar file
526+
List removed unused sections to the specified file.
525527
.It Fl -print-icf-sections
526528
List identical folded sections.
527529
.It Fl -print-map

0 commit comments

Comments
 (0)