Refactor the DIFile (2nd) parameter to DITypes to be an MDNode reference to a raw...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 20 Mar 2013 00:26:26 +0000 (00:26 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 20 Mar 2013 00:26:26 +0000 (00:26 +0000)
commit4776bce28cb7d669329222c3d9cf6a97d6881c96
treea1d9119248131b6d76b9339230b856df0d10197e
parentd73dc544f5e37e6d58befc71e57da3c132804543
Refactor the DIFile (2nd) parameter to DITypes to be an MDNode reference to a raw directory/file pair

This makes DIType's first non-tag parameter the same as DIFile's, allowing them
to both share the common implementation of getFilename/getDirectory in DIScope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177467 91177308-0d34-0410-b5e6-96231b3b80d8
43 files changed:
include/llvm/DebugInfo.h
lib/IR/DIBuilder.cpp
lib/IR/DebugInfo.cpp
test/CodeGen/ARM/debug-info-arg.ll
test/CodeGen/ARM/debug-info-blocks.ll
test/CodeGen/ARM/debug-info-branch-folding.ll
test/CodeGen/ARM/debug-info-qreg.ll
test/CodeGen/X86/2010-01-18-DbgValue.ll
test/CodeGen/X86/2010-05-25-DotDebugLoc.ll
test/CodeGen/X86/2012-11-30-handlemove-dbg.ll
test/CodeGen/X86/2012-11-30-misched-dbg.ll
test/CodeGen/X86/2012-11-30-regpres-dbg.ll
test/CodeGen/X86/dbg-byval-parameter.ll
test/CodeGen/X86/dbg-i128-const.ll
test/CodeGen/X86/dbg-merge-loc-entry.ll
test/CodeGen/X86/dbg-value-isel.ll
test/DebugInfo/2010-03-24-MemberFn.ll
test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll
test/DebugInfo/X86/2010-04-13-PubType.ll
test/DebugInfo/X86/2011-12-16-BadStructRef.ll
test/DebugInfo/X86/DW_AT_byte_size.ll
test/DebugInfo/X86/DW_AT_object_pointer.ll
test/DebugInfo/X86/DW_AT_specification.ll
test/DebugInfo/X86/DW_TAG_friend.ll
test/DebugInfo/X86/block-capture.ll
test/DebugInfo/X86/concrete_out_of_line.ll
test/DebugInfo/X86/dbg-value-inlined-parameter.ll
test/DebugInfo/X86/debug-info-static-member.ll
test/DebugInfo/X86/elf-names.ll
test/DebugInfo/X86/empty-and-one-elem-array.ll
test/DebugInfo/X86/empty-array.ll
test/DebugInfo/X86/linkage-name.ll
test/DebugInfo/X86/misched-dbg-value.ll
test/DebugInfo/X86/multiple-at-const-val.ll
test/DebugInfo/X86/nondefault-subrange-array.ll
test/DebugInfo/X86/objc-fwd-decl.ll
test/DebugInfo/X86/pointer-type-size.ll
test/DebugInfo/X86/pr11300.ll
test/DebugInfo/X86/struct-loc.ll
test/DebugInfo/X86/vector.ll
test/DebugInfo/debug-info-block-captured-self.ll
test/DebugInfo/dwarf-public-names.ll
test/DebugInfo/member-pointers.ll