[all-commits] [llvm/llvm-project] def915: [DebugInfo] Variables with only empty values emitt...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Tue Dec 20 03:51:55 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: def915c39cc4e18b304c7a8c4761cc4531c3bc4b
https://github.com/llvm/llvm-project/commit/def915c39cc4e18b304c7a8c4761cc4531c3bc4b
Author: Stephen Tozer <Stephen.Tozer at Sony.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
M llvm/test/DebugInfo/X86/dbg_value_list_emission.mir
Log Message:
-----------
[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
More information about the All-commits
mailing list