OSDN Git Service

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)
commitb4cf0ab22b5a3ebb720f0b7287fdccfb465b6b7c
treeaf1cc4625e835e531afb2946538a2e29baaa8496
parent14de1a87ce2be1a2e9258ea6c8437482cdb480ec
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.

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