From: Vitaly Buka Date: Fri, 12 May 2023 02:35:12 +0000 (-0700) Subject: [LiveDebugValues] Temporarily initialize MLocTracker::CurBB X-Git-Tag: upstream/17.0.6~8744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b135df08397c6484544fe43b64e90d6311d9f200;p=platform%2Fupstream%2Fllvm.git [LiveDebugValues] Temporarily initialize MLocTracker::CurBB Looks like code assumes that it will be always set, but it's not true: https://reviews.llvm.org/D150420. This is temporarily suppression to enabled stricter msan on a bot. --- diff --git a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h index 772aa40..a98cf5c 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h +++ b/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h @@ -656,7 +656,7 @@ public: // If we discover a new machine location, assign it an mphi with this // block number. - unsigned CurBB; + unsigned CurBB = 0; // FIXME: https://reviews.llvm.org/D150420 /// Cached local copy of the number of registers the target has. unsigned NumRegs;