diff options
author | Reid Kleckner <rnk@google.com> | 2017-06-16 20:47:19 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-06-16 20:47:19 +0000 |
commit | 79ac99b3e8df4c9fd4812ab119b55b50f5f762ce (patch) | |
tree | 3ac3c3cd4d7e26a8872f5b947ae337d340e81dfa /llvm/lib/Object/WindowsResource.cpp | |
parent | f1b9f3a23f90bb3ea230a8f2514b98e81849ed88 (diff) | |
download | llvm-79ac99b3e8df4c9fd4812ab119b55b50f5f762ce.zip llvm-79ac99b3e8df4c9fd4812ab119b55b50f5f762ce.tar.gz llvm-79ac99b3e8df4c9fd4812ab119b55b50f5f762ce.tar.bz2 |
[COFF] Drop unused comdat sections when GC is turned off
Summary:
Adds a "Discarded" bool to SectionChunk to indicate if the section was
discarded by COMDAT deduplication. The Writer still just checks
`isLive()`.
Fixes PR33446
Reviewers: ruiu
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D34288
llvm-svn: 305582
Diffstat (limited to 'llvm/lib/Object/WindowsResource.cpp')
0 files changed, 0 insertions, 0 deletions