search for: getvaluefwdref

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

2010 Oct 25
5
[LLVMdev] llvm-dis fails to parse bytecode emitted by clang
...ANG/LLVM 2.8 compiled from source. The test program I am trying to compile is simply: int main() { return 0; } Thanks, Lorenzo De Carli Output for problem #1: $ clang -c -emit-llvm test.c -o test.bc $ llvm-dis test.bc llvm-dis: BitcodeReader.cpp:205: llvm::Value* llvm::BitcodeReaderValueList::getValueFwdRef(unsigned int, const llvm::Type*): Assertion `(Ty == 0 || Ty == V->getType()) && "Type mismatch in value table!"' failed. 0 llvm-dis 0x00000000006131c6 1 llvm-dis 0x0000000000613502 2 libc.so.6 0x00000039cf4302d0 3 libc.so.6 0x00000039cf430265 gsignal + 53 4 libc...
2010 Oct 26
0
[LLVMdev] llvm-dis fails to parse bytecode emitted by clang
...t; simply: > > int main() > { > return 0; > } > > > Thanks, > Lorenzo De Carli > > Output for problem #1: > $ clang -c -emit-llvm test.c -o test.bc > $ llvm-dis test.bc > llvm-dis: BitcodeReader.cpp:205: llvm::Value* > llvm::BitcodeReaderValueList::getValueFwdRef(unsigned int, const > llvm::Type*): Assertion `(Ty == 0 || Ty == V->getType()) && "Type > mismatch in value table!"' failed. > 0 llvm-dis 0x00000000006131c6 > 1 llvm-dis 0x0000000000613502 > 2 libc.so.6 0x00000039cf4302d0 > 3 libc.so.6 0x00000039...
2009 Nov 01
0
[LLVMdev] Something wrong with my libpthread.so
...1) % 2 == 1) 1604 return Error ("Invalid METADATA_ATTACHMENT reader!"); 1605 Instruction *Inst = InstructionList[Record[0]]; 1606 for (unsigned i = 1; i != RecordLength; i = i+2) { 1607 unsigned Kind = Record[i]; 1608 Value *Node = MDValueList.getValueFwdRef(Record[i+1]); 1609 TheMetadata.addMD(Kind, cast<MDNode>(Node), Inst); 1610 } 1611 break; 1612 } At line 1606, i never becomes equal to RecordLength. Regards, -Mahadevan.
2009 Nov 01
1
[LLVMdev] Something wrong with my libpthread.so
...return Error ("Invalid METADATA_ATTACHMENT reader!"); > 1605 Instruction *Inst = InstructionList[Record[0]]; > 1606 for (unsigned i = 1; i != RecordLength; i = i+2) { > 1607 unsigned Kind = Record[i]; > 1608 Value *Node = MDValueList.getValueFwdRef(Record[i+1]); > 1609 TheMetadata.addMD(Kind, cast<MDNode>(Node), Inst); > 1610 } > 1611 break; > 1612 } > > At line 1606, i never becomes equal to RecordLength. I strongly suspect this is llvm.org/PR5278 . Please add your comments there, th...
2009 Oct 31
3
[LLVMdev] Something wrong with my libpthread.so
Hi,all I tried to run the generated whole-program bitcode of BIND,but I got some information: 0 lli 0x0000000000feda16 1 lli 0x0000000000fed88f 2 libpthread.so.0 0x0000003df340eee0 3 libc.so.6 0x0000003df28332f5 gsignal + 53 4 libc.so.6 0x0000003df2834b20 abort + 384 5 libc.so.6 0x0000003df282c2fa __assert_fail + 234 6 lli
2010 Oct 26
2
[LLVMdev] llvm-dis fails to parse bytecode emitted by clang
...gt;   return 0; >> } >> >> >> Thanks, >> Lorenzo De Carli >> >> Output for problem #1: >> $ clang -c -emit-llvm test.c -o test.bc >> $ llvm-dis test.bc >> llvm-dis: BitcodeReader.cpp:205: llvm::Value* >> llvm::BitcodeReaderValueList::getValueFwdRef(unsigned int, const >> llvm::Type*): Assertion `(Ty == 0 || Ty == V->getType()) && "Type >> mismatch in value table!"' failed. >> 0   llvm-dis  0x00000000006131c6 >> 1   llvm-dis  0x0000000000613502 >> 2   libc.so.6 0x00000039cf4302d0 >>...