Split out filename & directory from DIFile to start generalizing over DIScopes
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 17 Mar 2013 21:13:55 +0000 (21:13 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 17 Mar 2013 21:13:55 +0000 (21:13 +0000)
commit8fb82245785d570fdb55f2c1994661ec8d3dd4b6
treeeb971efa52b930d63c96189543663cc7d30ee8c5
parent2e488d1f0d391fa36d0ab1c4cffee3ba8c9c50f0
Split out filename & directory from DIFile to start generalizing over DIScopes

This is the first step to making all DIScopes have a common metadata prefix (so
that things (using directives, for example) that can appear in any scope can be
added to that common prefix). DIFile is itself a DIScope so the common prefix
of all DIScopes cannot be a DIFile - instead it's the raw filename/directory
name pair.

llvm-svn: 177239
87 files changed:
llvm/include/llvm/DebugInfo.h
llvm/lib/IR/DIBuilder.cpp
llvm/lib/IR/DebugInfo.cpp
llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll
llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll
llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll
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-d16-reg.ll
llvm/test/CodeGen/ARM/debug-info-qreg.ll
llvm/test/CodeGen/ARM/debug-info-s16-reg.ll
llvm/test/CodeGen/ARM/debug-info-sreg2.ll
llvm/test/CodeGen/X86/2010-01-18-DbgValue.ll
llvm/test/CodeGen/X86/2010-05-25-DotDebugLoc.ll
llvm/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll
llvm/test/CodeGen/X86/2010-05-28-Crash.ll
llvm/test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll
llvm/test/CodeGen/X86/2010-09-16-EmptyFilename.ll
llvm/test/CodeGen/X86/2010-11-02-DbgParameter.ll
llvm/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.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/MachineSink-DbgValue.ll
llvm/test/CodeGen/X86/dbg-byval-parameter.ll
llvm/test/CodeGen/X86/dbg-const-int.ll
llvm/test/CodeGen/X86/dbg-const.ll
llvm/test/CodeGen/X86/dbg-declare-arg.ll
llvm/test/CodeGen/X86/dbg-file-name.ll
llvm/test/CodeGen/X86/dbg-i128-const.ll
llvm/test/CodeGen/X86/dbg-merge-loc-entry.ll
llvm/test/CodeGen/X86/dbg-value-dag-combine.ll
llvm/test/CodeGen/X86/dbg-value-isel.ll
llvm/test/CodeGen/X86/dbg-value-location.ll
llvm/test/CodeGen/X86/dbg-value-range.ll
llvm/test/CodeGen/X86/dwarf-comp-dir.ll
llvm/test/CodeGen/X86/unknown-location.ll
llvm/test/DebugInfo/2009-11-03-InsertExtractValue.ll
llvm/test/DebugInfo/2010-03-24-MemberFn.ll
llvm/test/DebugInfo/2010-06-29-InlinedFnLocalVar.ll
llvm/test/DebugInfo/AArch64/dwarfdump.ll
llvm/test/DebugInfo/AArch64/variable-loc.ll
llvm/test/DebugInfo/X86/2010-04-13-PubType.ll
llvm/test/DebugInfo/X86/2010-08-10-DbgConstant.ll
llvm/test/DebugInfo/X86/2011-09-26-GlobalVarContext.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_location-reference.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/ending-run.ll
llvm/test/DebugInfo/X86/enum-class.ll
llvm/test/DebugInfo/X86/fission-cu.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/op_deref.ll
llvm/test/DebugInfo/X86/pointer-type-size.ll
llvm/test/DebugInfo/X86/pr11300.ll
llvm/test/DebugInfo/X86/rvalue-ref.ll
llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll
llvm/test/DebugInfo/X86/stringpool.ll
llvm/test/DebugInfo/X86/struct-loc.ll
llvm/test/DebugInfo/X86/subrange-type.ll
llvm/test/DebugInfo/X86/vector.ll
llvm/test/DebugInfo/array.ll
llvm/test/DebugInfo/debug-info-block-captured-self.ll
llvm/test/DebugInfo/dwarf-public-names.ll
llvm/test/DebugInfo/member-pointers.ll
llvm/test/DebugInfo/two-cus-from-same-file.ll
llvm/test/Instrumentation/AddressSanitizer/debug_info.ll
llvm/test/Transforms/DeadArgElim/dbginfo.ll
llvm/test/Transforms/InstCombine/debuginfo.ll
llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll
llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll
llvm/test/Transforms/ScalarRepl/debuginfo-preserved.ll