Displaying 2 results from an estimated 2 matches for "iscomplexintegertype".
2016 Mar 31
2
Question about 'isUnsignedDIType' function on DwarfUnit.cpp
.../DwarfUnit.cpp'
When we want to generate object file with dwarf debug format, clang
can generates 'DW_ATE_lo_user' encoding for complex integer type as
follow:
"clang/lib/CodeGen/CGDebugInfo.cpp"
llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) {
...
if (Ty->isComplexIntegerType())
Encoding = llvm::dwarf::DW_ATE_lo_user;
...
There is a assert for DIBasicType's enconding in the
'isUnsignedDIType' function and it generates assertion for
'DW_ATE_lo_user'. Is it intended? I think it should not generate
assertion for 'DW_ATE_lo_user' because it...
2016 Apr 01
0
Question about 'isUnsignedDIType' function on DwarfUnit.cpp
...debug format, clang
> > can generates 'DW_ATE_lo_user' encoding for complex integer type as
> > follow:
> >
> > "clang/lib/CodeGen/CGDebugInfo.cpp"
> > llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) {
> > ...
> > if (Ty->isComplexIntegerType())
> > Encoding = llvm::dwarf::DW_ATE_lo_user;
> > ...
> >
> > There is a assert for DIBasicType's enconding in the
> > 'isUnsignedDIType' function and it generates assertion for
> > 'DW_ATE_lo_user'. Is it intended? I think it should not...