Files
clang-p2996/llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
Stephen Tozer c290a8b7a4 [DebugInfo] Fix: Variables that have no non-empty values being emitted when they have a DBG_VALUE_LIST
This patch fixes a simple bug where `DbgValueHistoryMap::hasNonEmptyLocation` was incorrectly handling DBG_VALUE_LIST instructions, treating empty values as non-empty, causing empty variables to be emitted into DWARF.

Reviewed By: Orlando

Differential Revision: https://reviews.llvm.org/D133925
2022-12-25 13:28:27 -08:00

24 KiB