llvm-6502/test/DebugInfo/ARM
Sergey Dmitrouk 1f7a90d793 Reapply r235977 "[DebugInfo] Add debug locations to constant SD nodes"
[DebugInfo] Add debug locations to constant SD nodes

This adds debug location to constant nodes of Selection DAG and updates
all places that create constants to pass debug locations
(see PR13269).

Can't guarantee that all locations are correct, but in a lot of cases choice
is obvious, so most of them should be. At least all tests pass.

Tests for these changes do not cover everything, instead just check it for
SDNodes, ARM and AArch64 where it's easy to get incorrect locations on
constants.

This is not complete fix as FastISel contains workaround for wrong debug
locations, which drops locations from instructions on processing constants,
but there isn't currently a way to use debug locations from constants there
as llvm::Constant doesn't cache it (yet). Although this is a bit different
issue, not directly related to these changes.

Differential Revision: http://reviews.llvm.org/D9084

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235989 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-28 14:05:47 +00:00
..
big-endian-dump.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
cfi-eof-prologue.ll DebugInfo: Remove 'inlinedAt:' field from MDLocalVariable 2015-04-15 22:29:27 +00:00
constant-dbgloc.ll Reapply r235977 "[DebugInfo] Add debug locations to constant SD nodes" 2015-04-28 14:05:47 +00:00
header.ll Don't declare all text sections at the start of the .s 2015-03-20 20:00:01 +00:00
line.test Add ARM test for r227489, but XFAIL because this is actually more work than it appeared to be. 2015-01-30 23:04:39 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
little-endian-dump.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
lowerbdgdeclare_vla.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
PR16736.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
processes-relocations.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
s-super-register.ll DebugInfo: Fix bad debug info for compile units and types 2015-03-27 20:46:33 +00:00
selectiondag-deadcode.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00
tls.ll DebugInfo: Move new hierarchy into place 2015-03-03 17:24:31 +00:00