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)
commit200b6ed80fc8266cec4b262a6723ef1a96910f18
treec67cc1d16857a2d37cc3d525d5a7ca528104ed28
parent35b13ece231bbd70cd5cfe7a3a1b931d74cef797
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.

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