From ecbca9f5fb7d7613d2b94982c4825eb0d33d6842 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 5 Feb 2022 19:04:23 +0100 Subject: Vendor import of llvm-project main llvmorg-14-init-18294-gdb01b123d012, the last commit before the upstream release/14.x branch was created. --- llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp') diff --git a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp index b4dd41bbb810..42a0967bce3f 100644 --- a/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp @@ -329,7 +329,7 @@ private: EntryValueKind, EntryValueBackupKind, EntryValueCopyBackupKind - } EVKind; + } EVKind = EntryValueLocKind::NonEntryValueKind; /// The value location. Stored separately to avoid repeatedly /// extracting it from MI. @@ -397,8 +397,7 @@ private: VarLoc(const MachineInstr &MI, LexicalScopes &LS) : Var(MI.getDebugVariable(), MI.getDebugExpression(), MI.getDebugLoc()->getInlinedAt()), - Expr(MI.getDebugExpression()), MI(MI), - EVKind(EntryValueLocKind::NonEntryValueKind) { + Expr(MI.getDebugExpression()), MI(MI) { assert(MI.isDebugValue() && "not a DBG_VALUE"); assert((MI.isDebugValueList() || MI.getNumOperands() == 4) && "malformed DBG_VALUE"); -- cgit v1.3