[LiveDebugValues] Temporarily initialize MLocTracker::CurBB
authorVitaly Buka <vitalybuka@google.com>
Fri, 12 May 2023 02:35:12 +0000 (19:35 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 12 May 2023 02:40:46 +0000 (19:40 -0700)
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.

llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h

index 772aa40..a98cf5c 100644 (file)
@@ -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;