diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-08-21 10:59:50 +0000 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2018-08-21 10:59:50 +0000 |
commit | d378a39603566404cf098329b368a6fe390016a9 (patch) | |
tree | 37b9b51ccebfc298a36d5e590d1b8ccbd62248f3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2e4067226bd243e384e71ae45de1275969e7dfe2 (diff) | |
download | bcm5719-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