summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2018-08-21 10:59:50 +0000
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>2018-08-21 10:59:50 +0000
commitd378a39603566404cf098329b368a6fe390016a9 (patch)
tree37b9b51ccebfc298a36d5e590d1b8ccbd62248f3 /clang/lib/Frontend/CompilerInvocation.cpp
parent2e4067226bd243e384e71ae45de1275969e7dfe2 (diff)
downloadbcm5719-llvm-d378a39603566404cf098329b368a6fe390016a9.tar.gz
bcm5719-llvm-d378a39603566404cf098329b368a6fe390016a9.zip
Change how finalizeBundle selects debug location for the BUNDLE instruction
Summary: Previously a BUNDLE instruction inherited the DebugLoc from the first instruction in the bundle, even if that DebugLoc had no DILocation. With this commit this is changed into selecting the first DebugLoc that has a DILocation, by searching among the bundled instructions. The idea is to reduce amount of bundles that are lacking debug locations. Reviewers: #debug-info, JDevlieghere Reviewed By: JDevlieghere Subscribers: JDevlieghere, mattd, llvm-commits Differential Revision: https://reviews.llvm.org/D50639 llvm-svn: 340267
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud