diff --git a/lld/wasm/OutputSections.cpp b/lld/wasm/OutputSections.cpp --- a/lld/wasm/OutputSections.cpp +++ b/lld/wasm/OutputSections.cpp @@ -151,7 +151,8 @@ Segment->SectionOffset = BodySize; BodySize += Segment->Header.size() + Segment->Size; - log("Data segment: size=" + Twine(Segment->Size)); + log("Data segment: size=" + Twine(Segment->Size) + ", startVA=" + + Twine::utohexstr(Segment->StartVA) + ", name=" + Segment->Name); for (InputSegment *InputSeg : Segment->InputSegments) InputSeg->OutputOffset = Segment->SectionOffset + Segment->Header.size() +