[DebugInfo] Variables with only empty values emitting when one is variadic
This patch fixes a simple bug in DbgValueHistoryMap::hasNonEmptyLocation that caused it to treat empty DBG_VALUE_LIST instructions as non-empty when determining whether to emit a variable or not. Differential Revision: https://reviews.llvm.org/D133925
Loading