diff --git a/lld/MachO/InputSection.h b/lld/MachO/InputSection.h index 8590d729e3ab2e..d8f283c83a8723 100644 --- a/lld/MachO/InputSection.h +++ b/lld/MachO/InputSection.h @@ -104,7 +104,7 @@ struct StringPiece { uint32_t inSecOff; uint32_t hash; // Offset from the start of the containing output section. - uint64_t outSecOff; + uint64_t outSecOff = 0; StringPiece(uint64_t off, uint32_t hash) : inSecOff(off), hash(hash) {} };