mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 14:15:53 +00:00
c664d76716
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@192018 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
Inputs | ||
2002-07-17-GlobalFail.ll | ||
2002-07-17-LinkTest2.ll | ||
2002-08-20-ConstantExpr.ll | ||
2003-01-30-LinkerRename.ll | ||
2003-01-30-LinkerTypeRename.ll | ||
2003-04-23-LinkOnceLost.ll | ||
2003-04-26-NullPtrLinkProblem.ll | ||
2003-05-15-TypeProblem.ll | ||
2003-05-31-LinkerRename.ll | ||
2003-06-02-TypeResolveProblem2.ll | ||
2003-06-02-TypeResolveProblem.ll | ||
2003-08-20-OpaqueTypeResolve.ll | ||
2003-08-23-GlobalVarLinking.ll | ||
2003-08-23-RecursiveOpaqueTypeResolve.ll | ||
2003-08-24-InheritPtrSize.ll | ||
2003-08-28-TypeResolvesGlobal2.ll | ||
2003-08-28-TypeResolvesGlobal3.ll | ||
2003-08-28-TypeResolvesGlobal.ll | ||
2003-10-27-LinkOncePromote.ll | ||
2003-11-18-TypeResolution.ll | ||
2004-02-17-WeakStrongLinkage.ll | ||
2004-05-07-TypeResolution1.ll | ||
2004-05-07-TypeResolution2.ll | ||
2004-12-03-DisagreeingType.ll | ||
2005-02-12-ConstantGlobals-2.ll | ||
2005-02-12-ConstantGlobals.ll | ||
2005-12-06-AppendingZeroLengthArrays.ll | ||
2006-01-19-ConstantPacked.ll | ||
2006-06-15-GlobalVarAlignment.ll | ||
2008-03-05-AliasReference2.ll | ||
2008-03-05-AliasReference.ll | ||
2008-03-07-DroppedSection_a.ll | ||
2008-03-07-DroppedSection_b.ll | ||
2008-06-13-LinkOnceRedefinition.ll | ||
2008-06-26-AddressSpace.ll | ||
2008-07-06-AliasFnDecl2.ll | ||
2008-07-06-AliasFnDecl.ll | ||
2008-07-06-AliasWeakDest2.ll | ||
2008-07-06-AliasWeakDest.ll | ||
2009-09-03-mdnode2.ll | ||
2009-09-03-mdnode.ll | ||
2011-08-04-DebugLoc2.ll | ||
2011-08-04-DebugLoc.ll | ||
2011-08-04-Metadata2.ll | ||
2011-08-04-Metadata.ll | ||
2011-08-18-unique-class-type2.ll | ||
2011-08-18-unique-class-type.ll | ||
2011-08-18-unique-debug-type2.ll | ||
2011-08-18-unique-debug-type.ll | ||
2011-08-22-ResolveAlias2.ll | ||
2011-08-22-ResolveAlias.ll | ||
AppendingLinkage2.ll | ||
AppendingLinkage.ll | ||
available_externally_a.ll | ||
available_externally_b.ll | ||
basiclink.ll | ||
ConstantGlobals1.ll | ||
ConstantGlobals2.ll | ||
ConstantGlobals3.ll | ||
DbgDeclare2.ll | ||
DbgDeclare.ll | ||
inlineasm.ll | ||
link-global-to-func.ll | ||
link-messages.ll | ||
link-type-names.ll | ||
linkage.ll | ||
linkmdnode2.ll | ||
linkmdnode.ll | ||
linknamedmdnode2.ll | ||
linknamedmdnode.ll | ||
LinkOnce.ll | ||
metadata-a.ll | ||
metadata-b.ll | ||
module-flags-1-a.ll | ||
module-flags-1-b.ll | ||
module-flags-2-a.ll | ||
module-flags-2-b.ll | ||
module-flags-3-a.ll | ||
module-flags-3-b.ll | ||
module-flags-4-a.ll | ||
module-flags-4-b.ll | ||
module-flags-5-a.ll | ||
module-flags-5-b.ll | ||
module-flags-6-a.ll | ||
module-flags-6-b.ll | ||
module-flags-7-a.ll | ||
module-flags-7-b.ll | ||
module-flags-8-a.ll | ||
module-flags-8-b.ll | ||
multiple-merged-structs.ll | ||
partial-type-refinement-link.ll | ||
partial-type-refinement.ll | ||
PR8300.ll | ||
prefixdata.ll | ||
redefinition.ll | ||
testlink1.ll | ||
testlink2.ll | ||
transitive-lazy-link.ll | ||
type-unique-inheritance.ll | ||
type-unique-simple2.ll | ||
type-unique-simple-a.ll | ||
type-unique-simple-b.ll | ||
unnamed-addr1-a.ll | ||
unnamed-addr1-b.ll | ||
unnamed-addr-err-a.ll | ||
unnamed-addr-err-b.ll | ||
visibility1.ll | ||
visibility2.ll | ||
weakextern.ll |