[all-commits] [llvm/llvm-project] b622df: [DebugInfo] Drop DBG_VALUE_LISTs with an excessive...
Stephen Tozer via All-commits
all-commits at lists.llvm.org
Wed Apr 28 02:41:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b622df3c93983c4512aa54f2c706716bdf865a90
https://github.com/llvm/llvm-project/commit/b622df3c93983c4512aa54f2c706716bdf865a90
Author: Stephen Tozer <Stephen.Tozer at Sony.com>
Date: 2021-04-28 (Wed, 28 Apr 2021)
Changed paths:
M llvm/lib/CodeGen/LiveDebugVariables.cpp
A llvm/test/DebugInfo/X86/live-debug-vars-loc-limit.ll
Log Message:
-----------
[DebugInfo] Drop DBG_VALUE_LISTs with an excessive number of debug operands
This patch fixes a crash in LiveDebugVariables for inputs where a
DBG_VALUE_LIST had 64 or more debug operands. This was triggering an
assert, which was added under the assumption that only bad CodeGen would
result in such a limit being hit, but relatively simple source files
that result in these incredibly long debug values have been found, so
this assert has been changed to a condition that drops the debug value
if it is not met.
Differential Revision: https://reviews.llvm.org/D101373
More information about the All-commits
mailing list