[all-commits] [llvm/llvm-project] edbe96: [COFF] Don't treat DWARF sections as GC roots
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Mon Apr 13 13:54:43 PDT 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: edbe962459da6e3b7b4168118f93a77847b54e02
https://github.com/llvm/llvm-project/commit/edbe962459da6e3b7b4168118f93a77847b54e02
Author: Reid Kleckner <rnk at google.com>
Date: 2020-04-13 (Mon, 13 Apr 2020)
Changed paths:
M lld/COFF/MarkLive.cpp
A lld/test/COFF/gc-dwarf.s
Log Message:
-----------
[COFF] Don't treat DWARF sections as GC roots
DWARF sections are typically live and not COMDAT, so they would be
treated as GC roots. Enabling DWARF would essentially keep all code with
debug info alive, preventing any section GC.
Fixes PR45273
Reviewed By: mstorsjo, MaskRay
Differential Revision: https://reviews.llvm.org/D76935
(cherry picked from commit c579a5b1d92a9bc2046d00ee2d427832e0f5ddec)
More information about the All-commits
mailing list