llvm-project/llvm/test
Vedant Kumar b0585893cc [Mem2Reg] Create merged debug locations for inserted phis
Track the debug locations of the incoming values to newly-created phis,
and apply merged debug locations to the phis.

A merged location will be on line 0, but will have the correct scope
set. This improves crash reporting when an inlined instruction with a
merged location triggers a machine exception. A debugger will be able to
narrow down the crash to the correct inlined scope, instead of simply
pointing to the outer scope of the caller.

Taken together with a change allows generating merged line-0 locations
for  instructions which aren't calls, this results in a 0.5% increase in
the uncompressed size of the .debug_line section of a stage2+Release
build of clang (-O3 -g).

rdar://33858697

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

llvm-svn: 330227
2018-04-17 22:03:08 +00:00
..
Analysis [BasicAA] Return MayAlias for the pointer plus variable offset to 2018-04-16 01:58:39 +00:00
Assembler
Bindings [LLVM-C] Move DIBuilder Bindings For Block Scopes 2018-04-07 06:07:55 +00:00
Bitcode [IR] Upgrade comment token in objc retain release marker for asm call 2018-04-17 04:02:24 +00:00
BugPoint
CodeGen [RISCV] implement li pseudo instruction 2018-04-17 21:56:40 +00:00
DebugInfo [llvm-pdbutil] Dump first section contribution for each module. 2018-04-17 20:06:43 +00:00
Examples
ExecutionEngine [RuntimeDyld][PowerPC] Fix a newly added test in r329355 2018-04-09 14:29:23 +00:00
Feature Remove the LoopInstSimplify pass (-loop-instsimplify) 2018-03-12 20:49:42 +00:00
FileCheck
Instrumentation hwasan: add -fsanitize=kernel-hwaddress flag 2018-04-13 18:05:21 +00:00
Integer
JitListener
LTO Object: Don't mark alias unconditionally defined 2018-04-10 00:53:16 +00:00
Linker
MC [RISCV] implement li pseudo instruction 2018-04-17 21:56:40 +00:00
Object Disable a test using environment variables that requires a real shell 2018-04-03 18:19:52 +00:00
ObjectYAML [WebAssembly] libObject: Don't include the name the size of custom sections 2018-04-12 20:31:12 +00:00
Other [lit] Fix several Python 2/3 compatibility issues and tests 2018-04-07 00:21:28 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen TableGen: Support Intrinsic values in SearchableTable 2018-04-01 17:08:58 +00:00
ThinLTO/X86 [lit] Fix several Python 2/3 compatibility issues and tests 2018-04-07 00:21:28 +00:00
Transforms [Mem2Reg] Create merged debug locations for inserted phis 2018-04-17 22:03:08 +00:00
Unit
Verifier Tweak an assert message in the verifier 2018-04-06 10:20:19 +00:00
YAMLParser
tools [X86] Add separate scheduling class for PSADBW instruction. 2018-04-17 19:35:19 +00:00
.clang-format
CMakeLists.txt Remove llvm-mcmarkup. 2018-04-02 23:17:55 +00:00
TestRunner.sh
lit.cfg.py Enable debug fission for thinLTO linked via gold-plugin 2018-04-13 05:03:28 +00:00
lit.site.cfg.py.in