[PATCH] D85685: Support dwarf fission for wasm object files
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 14:41:34 PDT 2020
dschuff updated this revision to Diff 292624.
dschuff added a comment.
rebase, address comment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85685/new/
https://reviews.llvm.org/D85685
Files:
llvm/lib/MC/WasmObjectWriter.cpp
Index: llvm/lib/MC/WasmObjectWriter.cpp
===================================================================
--- llvm/lib/MC/WasmObjectWriter.cpp
+++ llvm/lib/MC/WasmObjectWriter.cpp
@@ -1309,8 +1309,9 @@
support::endian::Writer DwoWriter(*DwoOS, support::little);
W = &DwoWriter;
return TotalSize + writeOneObject(Asm, Layout, DwoMode::DwoOnly);
+ } else {
+ return writeOneObject(Asm, Layout, DwoMode::AllSections);
}
- return writeOneObject(Asm, Layout, DwoMode::AllSections);
}
uint64_t WasmObjectWriter::writeOneObject(MCAssembler &Asm,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85685.292624.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/432b87bd/attachment.bin>
More information about the llvm-commits
mailing list