llvm/test/DebugInfo
Duncan P. N. Exon Smith 37ac8d3622 IR: Move MDLocation into place
This commit moves `MDLocation`, finishing off PR21433.  There's an
accompanying clang commit for frontend testcases.  I'll attach the
testcase upgrade script I used to PR21433 to help out-of-tree
frontends/backends.

This changes the schema for `DebugLoc` and `DILocation` from:

    !{i32 3, i32 7, !7, !8}

to:

    !MDLocation(line: 3, column: 7, scope: !7, inlinedAt: !8)

Note that empty fields (line/column: 0 and inlinedAt: null) don't get
printed by the assembly writer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226048 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-14 22:27:36 +00:00
..
AArch64 IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
ARM IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
COFF IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
Inputs IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
Mips IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
PowerPC IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
Sparc IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
SystemZ IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
X86 IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2009-10-16-Phi.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2009-11-03-InsertExtractValue.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2009-11-05-DeadGlobalVariable.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2009-11-06-NamelessGlobalVariable.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2009-11-10-CurrentFn.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-01-05-DbgScope.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-03-12-llc-crash.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2010-03-19-DbgDeclare.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-03-24-MemberFn.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-03-30-InvalidDbgInfoCrash.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
2010-04-06-NestedFnDbgInfo.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-04-19-FramePtr.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-05-03-DisableFramePtr.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-05-03-OriginDIE.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-05-10-MultipleCU.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-06-29-InlinedFnLocalVar.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-07-19-Crash.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
2010-10-01-crash.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
arm-relocs.test
array.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
block-asan.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
bug_null_debuginfo.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
constant-pointers.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
cross-cu-inlining.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
cross-cu-linkonce-distinct.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
cross-cu-linkonce.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
cu-range-hole.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
cu-ranges.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
dead-argument-order.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
debug-info-always-inline.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
debug-info-qualifiers.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
debuginfofinder-multiple-cu.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
debuglineinfo.test
duplicate_inline.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
dwarf-public-names.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
dwarfdump-accel.test Reapply "[dwarfdump] Add support for dumping accelerator tables." 2014-11-14 16:15:53 +00:00
dwarfdump-debug-frame-simple.test
dwarfdump-debug-loc-simple.test
dwarfdump-dump-flags.test
dwarfdump-line-dwo.test
dwarfdump-objc.test [dwarfdump] Prettyprint DW_AT_APPLE_property_attribute bitfield values. 2014-10-10 15:51:10 +00:00
dwarfdump-pubnames.test
dwarfdump-ranges.test [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
dwarfdump-type-units.test
dwarfdump-zlib.test
empty.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
enum-types.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
enum.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
global.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
gmlt.test test: XFAIL the non-darwin gmlt test on darwin 2014-10-01 05:45:45 +00:00
incorrect-variable-debugloc1.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
incorrect-variable-debugloc.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inheritance.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inline-debug-info-multiret.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inline-debug-info.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inline-no-debug-info.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inline-scopes.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inlined-arguments.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
inlined-vars.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
llvm-symbolizer-zlib.test
llvm-symbolizer.test Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
lto-comp-dir.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
member-order.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
member-pointers.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
member-pointers.o Revert "Revert "DI: Fold constant arguments into a single MDString"" 2014-10-03 20:01:09 +00:00
missing-abstract-variable.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
missing-abstract-variable.o Revert "Revert "DI: Fold constant arguments into a single MDString"" 2014-10-03 20:01:09 +00:00
multiline.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
namespace_function_definition.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
namespace_inline_function_definition.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
namespace.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
nodebug.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
PR20038.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
restrict.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
sugared-constants.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
template-recursive-void.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
tu-composite.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
tu-member-pointer.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
two-cus-from-same-file.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
typedef.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
unconditional-branch.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
varargs.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00
version.ll IR: Move MDLocation into place 2015-01-14 22:27:36 +00:00