summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2019-06-13 22:15:35 +0000
committerAmara Emerson <aemerson@apple.com>2019-06-13 22:15:35 +0000
commitfb0a40f0648dca2986a5fa54eb6d7ad5a1fcf6d6 (patch)
treeb30cf70837aa8a0351ad8f2e64d9d01de11dfedb /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentcf34a2bd5d6ec941e755d85e49525712453b0777 (diff)
downloadbcm5719-llvm-fb0a40f0648dca2986a5fa54eb6d7ad5a1fcf6d6.tar.gz
bcm5719-llvm-fb0a40f0648dca2986a5fa54eb6d7ad5a1fcf6d6.zip
[GlobalISel][IRTranslator] Add debug loc with line 0 to constants emitted into the entry block.
Constants, including G_GLOBAL_VALUE, are all emitted into the entry block which lets us use the vreg def assuming it dominates all other users. However, it can cause jumpy debug behaviour since the DebugLoc attached to these MIs are from a user instruction that could be in a different block. Fixes PR40887. Differential Revision: https://reviews.llvm.org/D63286 llvm-svn: 363331
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud