summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-11-20 13:02:23 -0800
committerAdrian Prantl <aprantl@apple.com>2019-11-20 17:07:54 -0800
commit5da385fb56cbe92d8bd8f53954056eca1829fe1b (patch)
tree13bd221c3761c797262da131c1745499c58d7101 /lldb/packages/Python/lldbsuite/test/python_api/interpreter
parent1f4395942fc7af266bc6f520a61124b27ee90fed (diff)
downloadbcm5719-llvm-5da385fb56cbe92d8bd8f53954056eca1829fe1b.tar.gz
bcm5719-llvm-5da385fb56cbe92d8bd8f53954056eca1829fe1b.zip
Fix an offset underflow bug in DwarfExpression when describing small values with subregisters
DwarfExpression::addMachineReg() knows how to build a larger register that isn't expressible in DWARF by combining multiple subregisters. However, if the entire value fits into just one subregister, it would still emit the other subregisters, leading to all sorts of inconsistencies down the line. This patch fixes that by moving an already existing(!) check whether the subregister's offset is before the end of the value to the right place. rdar://problem/57294211 Differential Revision: https://reviews.llvm.org/D70508
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud