llvm-6502/test
Manman Ren 2b53089bd0 Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type
is updated to use DITypeRef.

Move isUnsignedDIType and getOriginalTypeSize from DebugInfo.h to be static
helper functions in DwarfCompileUnit. We already have a static helper function
"isTypeSigned" in DwarfCompileUnit, and a pointer to DwarfDebug is added to
resolve the derived-from field. All three functions need to go across link
for derived-from fields, so we need to get hold of a type identifier map.

A pointer to DwarfDebug is also added to DbgVariable in order to resolve the
derived-from field.

Debug info verifier is updated to check a derived-from field is a TypeRef.
Verifier will not go across link for derived-from fields, in debug info finder,
we go across the link to add derived-from fields to types.

Function getDICompositeType is only used by dragonegg and since dragonegg does
not generate identifier for types, we use an empty map to resolve the
derived-from field.

When printing a derived-from field, we use DITypeRef::getName to either return
the type identifier or getName of the DIType.

A paired commit at clang is required due to changes to DIBuilder.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191800 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-01 23:45:54 +00:00
..
Analysis Use CHECK-LABEL 2013-09-30 23:31:55 +00:00
Assembler
Bindings/Ocaml
Bitcode AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format. 2013-09-28 00:22:27 +00:00
BugPoint
CodeGen R600: add a pass that merges clauses. 2013-10-01 19:32:58 +00:00
DebugInfo Add the DW_AT_GNU_ranges_base attribute if we've emitted any ranges 2013-10-01 00:43:36 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation ObjectSizeOffsetEvaluator: Don't run into infinite recursion if we have a cyclic GEP. 2013-09-29 19:39:13 +00:00
Integer
JitListener
Linker Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type 2013-10-01 23:45:54 +00:00
LTO Revert "Enable building LTO on WIN32." 2013-09-30 16:32:51 +00:00
MC [SystemZ] Add comparisons of high words and memory 2013-10-01 15:00:44 +00:00
Object
Other
TableGen
tools Resurrect lit.local.cfg to un-break hexagon buildbot. 2013-09-27 21:26:38 +00:00
Transforms Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type 2013-10-01 23:45:54 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg Add llvm-readobj to the list of programs to find in the freshly built 2013-09-30 21:55:01 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh