Displaying 8 results from an estimated 8 matches for "hasimplicitnul".
Did you mean:
hasimplicitnull
2007 Feb 23
2
[LLVMdev] bytecode reader assertion failure
...on that produces
bytecode that passes the verifier. However, when I try to read that
bytecode back in, I get the assertion failure below.
llvm::BytecodeReader::ParseConstantPoolValue(unsigned int):
Assertion `(!isa<Constant>(Result) ||
!cast<Constant>(Result)->isNullValue()) || !hasImplicitNull(TypeID) &&
"Cannot read null values from bytecode!"' failed.
So, I ran gdb on opt. I was able to get the following information from opt:
(gdb) print Result
$7 = (class llvm::Constant *) 0x96ad9d0
(gdb) call Result->dump()
[41 x sbyte *] zeroinitializer
(gdb) print ha...
2007 Feb 23
0
[LLVMdev] bytecode reader assertion failure
...e that passes the verifier. However, when I try to read that
> bytecode back in, I get the assertion failure below.
>
> llvm::BytecodeReader::ParseConstantPoolValue(unsigned int):
> Assertion `(!isa<Constant>(Result) ||
> !cast<Constant>(Result)->isNullValue()) || !hasImplicitNull(TypeID) &&
> "Cannot read null values from bytecode!"' failed.
>
> So, I ran gdb on opt. I was able to get the following information from opt:
>
> (gdb) print Result
> $7 = (class llvm::Constant *) 0x96ad9d0
> (gdb) call Result->dump()
> [41 x...
2007 Feb 23
1
[LLVMdev] bytecode reader assertion failure
...he verifier. However, when I try to read that
>>bytecode back in, I get the assertion failure below.
>>
>>llvm::BytecodeReader::ParseConstantPoolValue(unsigned int):
>>Assertion `(!isa<Constant>(Result) ||
>>!cast<Constant>(Result)->isNullValue()) || !hasImplicitNull(TypeID) &&
>>"Cannot read null values from bytecode!"' failed.
>>
>>So, I ran gdb on opt. I was able to get the following information from opt:
>>
>>(gdb) print Result
>>$7 = (class llvm::Constant *) 0x96ad9d0
>>(gdb) call Result-&g...
2007 Feb 22
2
[LLVMdev] opt -verify
...he verify option should have made sure that bytecode written to
code2.bc was correct. Am I incorrect?
opt: Reader.cpp:1978: llvm::Value*
llvm::BytecodeReader::ParseConstantPoolValue(unsigned int): Assertion
`(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
!hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
failed.
opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
[0x70f420]
/lib/libc.so.6(abort+0x101)[0x4cab64f1]
/lib/libc.so.6(__assert_fail+0xfd)[0x...
2007 Feb 22
3
[LLVMdev] opt -verify
...dule or verifyFunction explicitly in your pass.
>
> -Chris
>
>> opt: Reader.cpp:1978: llvm::Value*
>> llvm::BytecodeReader::ParseConstantPoolValue(unsigned int): Assertion
>> `(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
>> !hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
>> failed.
>> opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
>> opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
>> [0x70f420]
>> /lib/libc.so.6(abort+0x101)[0x4ca...
2007 Feb 22
0
[LLVMdev] opt -verify
...tly in your pass.
>>
>>-Chris
>>
>>
>>>opt: Reader.cpp:1978: llvm::Value*
>>>llvm::BytecodeReader::ParseConstantPoolValue(unsigned int): Assertion
>>>`(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
>>>!hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
>>>failed.
>>>opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
>>>opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
>>>[0x70f420]
>>>/lib/libc.so.6(abo...
2007 Feb 22
0
[LLVMdev] opt -verify
...erifier.h" ->
verifyModule or verifyFunction explicitly in your pass.
-Chris
> opt: Reader.cpp:1978: llvm::Value*
> llvm::BytecodeReader::ParseConstantPoolValue(unsigned int): Assertion
> `(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
> !hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
> failed.
> opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
> opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
> [0x70f420]
> /lib/libc.so.6(abort+0x101)[0x4cab64f1]
> /lib/lib...
2007 Feb 22
1
[LLVMdev] opt -verify
...hris
>>>
>>>
>>>
>>>>opt: Reader.cpp:1978: llvm::Value*
>>>>llvm::BytecodeReader::ParseConstantPoolValue(unsigned int): Assertion
>>>>`(!isa<Constant>(Result) || !cast<Constant>(Result)->isNullValue()) ||
>>>>!hasImplicitNull(TypeID) && "Cannot read null values from bytecode!"'
>>>>failed.
>>>>opt((anonymous namespace)::PrintStackTrace()+0x1a)[0x8645bae]
>>>>opt((anonymous namespace)::SignalHandler(int)+0x112)[0x8645e74]
>>>>[0x70f420]
>>>&g...