[PATCH] D45423: COFF: Remove dead code. NFCI.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 8 23:49:32 PDT 2018
pcc created this revision.
pcc added reviewers: zturner, ruiu.
https://reviews.llvm.org/D45423
Files:
lld/COFF/PDB.cpp
Index: lld/COFF/PDB.cpp
===================================================================
--- lld/COFF/PDB.cpp
+++ lld/COFF/PDB.cpp
@@ -832,9 +832,6 @@
for (const DebugSubsectionRecord &SS : Subsections) {
switch (SS.kind()) {
case DebugSubsectionKind::StringTable: {
- auto Data = SS.getRecordData();
- ArrayRef<uint8_t> Buffer;
- cantFail(Data.readLongestContiguousChunk(0, Buffer));
assert(!CVStrTab.valid() &&
"Encountered multiple string table subsections!");
ExitOnErr(CVStrTab.initialize(SS.getRecordData()));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45423.141587.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180409/4c252853/attachment.bin>
More information about the llvm-commits
mailing list