1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test
Jeremy Morse b2c5377fb4 [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
Bindings
Bitcode
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
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
Linker
LTO
MachineVerifier
MC Add ".dword" directive 2019-05-09 21:57:44 +00:00
Object [llvm-objdump] - Print relocation record in a GNU format. 2019-05-07 13:14:18 +00:00
ObjectYAML
Other
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86 [llvm-nm] Fix handling of symbol types 't' 'd' 'r' 2019-05-09 12:43:37 +00:00
tools llvm-dwarfdump: Add dwo parsing to --statistics. 2019-05-09 21:53:33 +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
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh