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,
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,
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits