[all-commits] [llvm/llvm-project] c579a5: [COFF] Don't treat DWARF sections as GC roots
Reid Kleckner via All-commits
all-commits at lists.llvm.org
Fri Mar 27 12:37:50 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c579a5b1d92a9bc2046d00ee2d427832e0f5ddec
https://github.com/llvm/llvm-project/commit/c579a5b1d92a9bc2046d00ee2d427832e0f5ddec
Author: Reid Kleckner <rnk at google.com>
Date: 2020-03-27 (Fri, 27 Mar 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
More information about the All-commits
mailing list