summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/ValueMapper.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-04-08 00:38:37 +0000
committerAdrian Prantl <aprantl@apple.com>2016-04-08 00:38:37 +0000
commit3e9c88753b7839375ee4aed0c9c064f405c682d8 (patch)
treed0dfd969dcb6fcc16f0cae0a0adab4f8ec227e9a /llvm/lib/Transforms/Utils/ValueMapper.cpp
parent267185ec922b29ddc25684b89ac8fec2d7d027e2 (diff)
downloadbcm5719-llvm-3e9c88753b7839375ee4aed0c9c064f405c682d8.tar.gz
bcm5719-llvm-3e9c88753b7839375ee4aed0c9c064f405c682d8.zip
DwarfDebug: Support floating point constants in location lists.
This patch closes a gap in the DWARF backend that caused LLVM to drop debug info for floating point variables that were constant for part of their scope. Floating point constants are emitted as one or more DW_OP_constu joined via DW_OP_piece. This fixes a regression caught by the LLDB testsuite that I introduced in r262247 when we stopped blindly expanding the range of singular DBG_VALUEs to span the entire scope and started to emit location lists with accurate ranges instead. Also deletes a now-impossible testcase (debug-loc-empty-entries). <rdar://problem/25448338> llvm-svn: 265760
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud