Skip to content

Commit

Permalink
[LiveDebugValues] Temporarily initialize MLocTracker::CurBB
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vitalybuka committed May 12, 2023
1 parent 39b8af4 commit b135df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ class MLocTracker {

// 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;
Expand Down

0 comments on commit b135df0

Please sign in to comment.