summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-08-29 00:06:59 +0000
committerBob Haarman <llvm@inglorion.net>2017-08-29 00:06:59 +0000
commitb2a04a151379ed3d659c9dc8c945d17fff90a93f (patch)
tree6ae6c908c49f2b832f957a5afaffd45a0f4a8bf7 /llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
parent99ecb0ebcaa4b953fcc5e9fbf49b233ef1b9b294 (diff)
downloadbcm5719-llvm-b2a04a151379ed3d659c9dc8c945d17fff90a93f.tar.gz
bcm5719-llvm-b2a04a151379ed3d659c9dc8c945d17fff90a93f.zip
[codeview] support more DW_OPs for more complete debug info
Summary: Some variables show up in Visual Studio as "optimized out" even in -O0 -Od builds. This change fixes two issues that would cause this to happen. The first issue is that not all DIExpressions we generate were recognized by the CodeView writer. This has been addressed by adding support for DW_OP_constu, DW_OP_minus, and DW_OP_plus. The second issue is that we had no way to encode DW_OP_deref in CodeView. We get around that by changinge the type we encode in the debug info to be a reference to the type in the source code. This fixes PR34261. Reviewers: aprantl, rnk, zturner Reviewed By: rnk Subscribers: mgorny, llvm-commits, aprantl, hiraditya Differential Revision: https://reviews.llvm.org/D36907 llvm-svn: 311957
Diffstat (limited to 'llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud