llvm-project/llvm/lib
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
..
Analysis [NFC] Factor out predecessors collection into a separate method 2018-08-21 07:15:06 +00:00
AsmParser DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
BinaryFormat [dwarfdump] Add pretty printer for accelerator table based on Atom. 2018-07-13 17:21:51 +00:00
Bitcode DebugInfo: Add metadata support for disabling DWARF pub sections 2018-08-16 21:29:55 +00:00
CodeGen Change how finalizeBundle selects debug location for the BUNDLE instruction 2018-08-21 10:59:50 +00:00
DebugInfo [DWARF] Refactor DWARF classes to use unified error reporting. NFC. 2018-08-20 09:59:08 +00:00
Demangle [MS Demangler] Demangle special operator 'dynamic initializer'. 2018-08-20 23:59:21 +00:00
ExecutionEngine [RuntimeDyld] Fix a bug in RuntimeDyld::loadObjectImpl that was over-allocating 2018-08-18 18:38:37 +00:00
FuzzMutate Remove trailing space 2018-07-30 19:41:25 +00:00
Fuzzer
IR [IR Verifier] Do not allow bitcast of pointer to vector of pointers and vice versa. 2018-08-21 04:27:07 +00:00
IRReader LLParser: add an argument for overriding data layout and do not check alloca addr space 2018-01-30 22:32:39 +00:00
LTO Remove trailing space 2018-07-30 19:41:25 +00:00
LineEditor
Linker [NFC] Remove an empty line. 2018-07-27 06:50:45 +00:00
MC MC: Remove dead code from WinCOFFObjectWriter.cpp. NFCI. 2018-08-18 00:54:46 +00:00
Object llvm-readobj: Fix addend in relocations for android packed format 2018-08-15 17:58:22 +00:00
ObjectYAML [yaml2obj] - Add a support for changing EntSize. 2018-08-07 08:11:38 +00:00
Option Re-revert "[Option] Fix PR37006 prefix choice in findNearest" 2018-05-19 16:21:01 +00:00
Passes Revert "[GVNHoist] Re-enable GVNHoist by default" 2018-07-30 20:07:33 +00:00
ProfileData [Coverage] Ignore 'unused' functions with non-zero execution counts 2018-08-07 22:25:36 +00:00
Support Add cmake option to disable minidumps, default it to off 2018-08-20 16:49:54 +00:00
TableGen Remove trailing space 2018-07-30 19:41:25 +00:00
Target [MIPS GlobalISel] Select bitwise instructions 2018-08-21 08:15:56 +00:00
Testing [LLVMTestingSupport] Add explicit linkage to LLVMSupport 2018-04-08 06:49:17 +00:00
ToolDrivers Give llvm-lib rudimentary help output. 2018-07-14 02:29:44 +00:00
Transforms [LICM] Hoist guards with invariant conditions 2018-08-21 08:11:31 +00:00
WindowsManifest Convert line endings of lib/WindowsManifest/CMakeLists.txt to unix. 2018-04-07 04:28:08 +00:00
XRay [XRay] Improve error reporting when loading traces 2018-08-07 04:42:39 +00:00
CMakeLists.txt
LLVMBuild.txt