llvm-project/llvm/test
Jeremy Morse a2b780b731 [DebugInfo] Use zero linenos for debug intrinsics when promoting dbg.declare
In certain circumstances, optimizations pick line numbers from debug
intrinsic instructions as the new location for altered instructions. This
is problematic because the line number of a debugging intrinsic is
meaningless (it doesn't produce any machine instruction), only the scope
information is valid. The result can be the line number of a variable
declaration "leaking" into real code from debugging intrinsics, making the
line table un-necessarily jumpy, and potentially different with / without
variable locations.

Fix this by using zero line numbers when promoting dbg.declare intrinsics
into dbg.values: this is safe for debug intrinsics as their line numbers
are meaningless, and reduces the scope for damage / misleading stepping
when optimizations pick locations from the wrong place.

Differential Revision: https://reviews.llvm.org/D59272

llvm-svn: 360415
2019-05-10 10:03:41 +00:00
..
Analysis [MemorySSA] Fix CHECKs in test. [NFC] 2019-05-07 22:26:52 +00:00
Assembler [ThinLTO] Fix unreachable code when parsing summary entries. 2019-05-01 16:26:59 +00:00
Bindings
Bitcode [ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols 2019-04-17 17:38:09 +00:00
BugPoint
CodeGen [WebAssembly] Don't assume that strongly defined symbols are DSO-local 2019-05-10 01:52:08 +00:00
DebugInfo [DebugInfo] Use zero linenos for debug intrinsics when promoting dbg.declare 2019-05-10 10:03:41 +00:00
Demangle llvm-undname: Fix assert-on->4GiB-string-literal, found by oss-fuzz 2019-04-24 16:09:38 +00:00
Examples
ExecutionEngine [JITLink] Fixed a signedness bug when processing X86_64_RELOC_SUBTRACTOR. 2019-05-09 23:17:41 +00:00
Feature
FileCheck [FileCheck, NFC] Split defines.txt in two 2019-05-08 21:47:36 +00:00
Instrumentation [SanitizerCoverage] Use different module ctor names for trace-pc-guard and inline-8bit-counters 2019-05-07 01:39:37 +00:00
Integer
JitListener
LTO [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
Linker
MC Add ".dword" directive 2019-05-09 21:57:44 +00:00
MachineVerifier [X86] Merge the different Jcc instructions for each condition code into single instructions that store the condition code as an operand. 2019-04-05 19:28:09 +00:00
Object [llvm-objdump] - Print relocation record in a GNU format. 2019-05-07 13:14:18 +00:00
ObjectYAML [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
Other [AliasAnalysis/NewPassManager] Invalidate AAManager less often. 2019-04-30 22:15:47 +00:00
SafepointIRVerifier
Support [CommandLine] Change help output to prefix long options with `--` instead of `-`. NFC . Part 3 of 5 2019-05-03 17:47:29 +00:00
SymbolRewriter
TableGen [TableGen] Include schedule model name in diagnostic. 2019-04-15 10:06:26 +00:00
ThinLTO/X86 [llvm-nm] Fix handling of symbol types 't' 'd' 'r' 2019-05-09 12:43:37 +00:00
Transforms [LoopVectorizer] fix test file to not run the entire -O3 pipeline 2019-05-09 13:43:22 +00:00
Unit
Verifier Debug Info: Support address space attributes on rvalue references. 2019-05-07 17:42:38 +00:00
YAMLParser
tools llvm-dwarfdump: Add dwo parsing to --statistics. 2019-05-09 21:53:33 +00:00
.clang-format
CMakeLists.txt [cmake] Add llvm-jit to LLVM_TEST_DEPENDS 2019-04-22 02:23:09 +00:00
TestRunner.sh
lit.cfg.py [tests] Add host-byteorder-*-endian; update XFAILs of big-endian triples 2019-05-01 15:36:18 +00:00
lit.site.cfg.py.in