[PATCH] D59052: ELF: Remove dead code. NFCI.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 19:17:31 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD355893: ELF: Remove dead code. NFCI. (authored by pcc, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D59052?vs=189595&id=190200#toc
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59052/new/
https://reviews.llvm.org/D59052
Files:
ELF/OutputSections.cpp
Index: ELF/OutputSections.cpp
===================================================================
--- ELF/OutputSections.cpp
+++ ELF/OutputSections.cpp
@@ -69,9 +69,7 @@
OutputSection::OutputSection(StringRef Name, uint32_t Type, uint64_t Flags)
: BaseCommand(OutputSectionKind),
SectionBase(Output, Name, Flags, /*Entsize*/ 0, /*Alignment*/ 1, Type,
- /*Info*/ 0, /*Link*/ 0) {
- Live = false;
-}
+ /*Info*/ 0, /*Link*/ 0) {}
// We allow sections of types listed below to merged into a
// single progbits section. This is typically done by linker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59052.190200.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/6cda1df3/attachment.bin>
More information about the llvm-commits
mailing list