diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-10-01 23:45:54 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-10-01 23:45:54 +0000 |
commit | 9a0a67035e72e65386e00e0532d491de77987e49 (patch) | |
tree | 7124dea1ab1c545be75e90b5494ed4ae0df666b9 /llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp | |
parent | 93a98aac8be37f50e7c2d234e15b720f55217f91 (diff) | |
download | bcm5719-llvm-9a0a67035e72e65386e00e0532d491de77987e49.tar.gz bcm5719-llvm-9a0a67035e72e65386e00e0532d491de77987e49.zip |
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.
llvm-svn: 191800
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp')
0 files changed, 0 insertions, 0 deletions