1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
OCHyams eca70845a6 [DebugInfo] Teach LDV how to handle identical variable fragments
LiveDebugVariables uses interval maps to explicitly represent DBG_VALUE
intervals. DBG_VALUEs are filtered into an interval map based on their {
Variable, DIExpression }. The interval map will coalesce adjacent entries that
use the same { Location }.  Under this model, DBG_VALUEs which refer to the same
bits of the same variable will be filtered into different interval maps if they
have different DIExpressions which means the original intervals will not be
properly preserved.

This patch fixes the problem by using { Variable, Fragment } to filter the
DBG_VALUEs into maps, and coalesces adjacent entries iff they have the same
{ Location, DIExpression } pair.

The solution is not perfect because we see the similar issues appear when
partially overlapping fragments are encountered, but is far simpler than a
complete solution (i.e. D70121).

Fixes: pr41992, pr43957
Reviewed By: aprantl
Differential Revision: https://reviews.llvm.org/D74053
2020-02-11 10:20:24 +00:00
..
Analysis [LoopCacheAnalysis]: Add support for negative stride 2020-02-10 13:22:35 -05:00
Assembler
Bindings Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
Bitcode
BugPoint
CodeGen [X86] Custom lower ISD::FP16_TO_FP and ISD::FP_TO_FP16 on f16c targets instead of using isel patterns. 2020-02-10 22:01:48 -08:00
DebugInfo [DebugInfo] Teach LDV how to handle identical variable fragments 2020-02-11 10:20:24 +00:00
Demangle
Examples
ExecutionEngine
Feature [LoopExtractor] Convert LoopExtractor from LoopPass to ModulePass 2020-02-09 12:25:21 +02:00
FileCheck
Instrumentation
Integer
JitListener
Linker Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
LTO
MachineVerifier
MC [AArch64] Make Read Write System Registers Read Only 2020-02-10 14:34:24 +00:00
Object [llvm-readobj] - Change the error to warning when a section name is unknown. 2020-02-10 16:01:30 +03:00
ObjectYAML
Other [VectorCombine] new IR transform pass for partial vector ops 2020-02-09 10:04:41 -05:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [llvm][TableGen] Define FieldInit::isConcrete overload 2020-02-10 18:04:58 -08:00
ThinLTO/X86
tools [DebugInfo] Teach LDV how to handle identical variable fragments 2020-02-11 10:20:24 +00:00
Transforms [EarlyCSE] avoid crashing when detecting min/max/abs patterns (PR41083) 2020-02-10 17:25:34 -05:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py Remove lit feature object-emission 2020-02-10 15:57:56 -06:00
lit.site.cfg.py.in
TestRunner.sh