llvm-project/llvm
Bjorn Pettersson d378a39603 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
2018-08-21 10:59:50 +00:00
..
bindings [bindings/go] Add coroutine passes 2018-08-19 23:40:05 +00:00
cmake [cmake] Prevent LLVMgold.so from being unloaded on Linux 2018-08-16 15:12:12 +00:00
docs [docs] Fix a small typo in a debug info example 2018-08-21 01:43:03 +00:00
examples
include [llvm] NFC: Fix assert condition and suppress warning 2018-08-21 07:23:45 +00:00
lib Change how finalizeBundle selects debug location for the BUNDLE instruction 2018-08-21 10:59:50 +00:00
projects
resources
runtimes Revert "[CMake] Pass Clang defaults to runtimes builds" 2018-07-13 20:01:55 +00:00
test Change how finalizeBundle selects debug location for the BUNDLE instruction 2018-08-21 10:59:50 +00:00
tools [llvm-objcopy] Simplify find(X,Y) != X.end() with is_contained() 2018-08-21 00:13:52 +00:00
unittests Revert rr340111 "[GISel]: Add Legalization/lowering code for bit counting operations" 2018-08-20 16:50:19 +00:00
utils [TableGen] Don't separately search for DefaultMode when we're going to iterate the set anyway. NFCI. 2018-08-17 17:45:15 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Add cmake option to disable minidumps, default it to off 2018-08-20 16:49:54 +00:00
CODE_OWNERS.TXT Add owner for llvm-objcopy 2018-08-09 22:05:19 +00:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.