search for: createtyp

Displaying 6 results from an estimated 6 matches for "createtyp".

Did you mean: createtype
2016 Mar 31
2
Question about 'isUnsignedDIType' function on DwarfUnit.cpp
...ype' function on 'llvm/lib/CodeGen/AsmPrinter/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...
2014 Jun 24
2
[LLVMdev] Issues with clang-llvm debug info validity
...nly the first part is needed for this specific test case) causes the assertion not to fire: diff --git lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGDebugInfo.cpp index 048c8f8..2bded23 100644 --- lib/CodeGen/CGDebugInfo.cpp +++ lib/CodeGen/CGDebugInfo.cpp @@ -771,7 +771,7 @@ llvm::DIType CGDebugInfo::CreateType(const FunctionType *Ty, SmallVector<llvm::Value *, 16> EltTys; // Add the result type at least. - EltTys.push_back(getOrCreateType(Ty->getReturnType(), Unit)); + EltTys.push_back(getOrCreateType(Ty->getReturnType(), Unit).getRef()); // Set up remainder of arguments if ther...
2016 Apr 01
0
Question about 'isUnsignedDIType' function on DwarfUnit.cpp
...#39; > > > > 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 asse...
2009 Mar 18
1
Is it possible to make rsync VMware split .vmdk's aware?
...r known data across all the split .vmdk files within one virtual disk? If this is possible this will improve the rsync process in a major way! The .vmdk config file looks like this: Contents of "PVSBS2K3-1.vmdk": # Disk DescriptorFile version=1 CID=ee057ac0 parentCID=ffffffff createType="twoGbMaxExtentSparse" # Extent description RW 4192256 SPARSE "PVSBS2K3-1-s001.vmdk" RW 4192256 SPARSE "PVSBS2K3-1-s002.vmdk" RW 4192256 SPARSE "PVSBS2K3-1-s003.vmdk" RW 4192256 SPARSE "PVSBS2K3-1-s004.vmdk" RW 4192256 SPARSE "PVSBS2K...
2014 Jun 24
2
[LLVMdev] Issues with clang-llvm debug info validity
...-S -o test2.ll >> $ llvm-link test1.ll test2.ll -S -o linked.ll >> $ llc linked.ll >> >> The last step raises an assertion error, assuming you have assertions >> enabled: >> llc: lib/CodeGen/AsmPrinter/DwarfUnit.cpp:953: llvm::DIE* >> llvm::DwarfUnit::getOrCreateTypeDIE(const llvm::MDNode*): Assertion `Ty == >> resolve(Ty.getRef()) && "type was not uniqued, possible ODR violation."' >> failed >> >> The initial introduction of the "test" namespace in test2.cpp seems to >> confuse clang -- test1.cpp a...
2009 Oct 09
1
rsync, --sparse and VM disk images
...for known data across all the split .vmdk files within one virtual disk? If this is possible this will improve the rsync process in a major way! The .vmdk config file looks like this: Contents of "PVSBS2K3-1.vmdk": # Disk DescriptorFile version=1 CID=ee057ac0 parentCID=ffffffff createType="twoGbMaxExtentSparse" # Extent description RW 4192256 SPARSE "PVSBS2K3-1-s001.vmdk" RW 4192256 SPARSE "PVSBS2K3-1-s002.vmdk" RW 4192256 SPARSE "PVSBS2K3-1-s003.vmdk" RW 4192256 SPARSE "PVSBS2K3-1-s004.vmdk" RW 4192256 SPARSE "PVSBS2K3...