Displaying 3 results from an estimated 3 matches for "parsebitcode".
2008 Oct 03
0
[LLVMdev] memory leaks in *Type::get() and Constant*::get()
...y 0x866B4B3: llvm::PointerType::get(llvm::Type const*, unsigned)
(Type.cpp:1319)
by 0x85E656E: llvm::BitcodeReader::ParseTypeTable()
(BitcodeReader.cpp:498)
by 0x85EDDB1: llvm::BitcodeReader::ParseModule(std::string const&)
(BitcodeReader.cpp:1078)
by 0x85EF35F: llvm::BitcodeReader::ParseBitcode()
(BitcodeReader.cpp:1367)
by 0x85EF40B: llvm::getBitcodeModuleProvider(llvm::MemoryBuffer*,
std::string*) (BitcodeReader.cpp:2078)
by 0x85EF483: llvm::ParseBitcodeFile(llvm::MemoryBuffer*, std::string*)
(BitcodeReader.cpp:2094)
by 0x839ADFF: main (opt.cpp:432)
160 bytes in 4 blocks a...
2010 May 28
1
[LLVMdev] Assertion when loading bitcode
...pport/Casting.h:199: typename llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X = llvm::FunctionType, Y = const llvm::Type*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
I think it happens because R->ParseBitcode() (lib/Bitcode/Reader/Bitcode.cpp 02080) fails which causes line 02086 to be executed???
Has anyone come across this problem before?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2010052...
2009 Jul 10
0
[LLVMdev] void llvm::PATypeHolder::addRef(): Assertion `Ty && "Type Holder has a null type!"' failed.
...#11 0x0000000000deedda in llvm::BitcodeReader::ParseTypeTable
(this=0x1d75530) at BitcodeReader.cpp:580
#12 0x0000000000df230e in llvm::BitcodeReader::ParseModule (this=0x1d75530,
ModuleID="receptacle-plug-test.bc") at BitcodeReader.cpp:1142
#13 0x0000000000df39b6 in llvm::BitcodeReader::ParseBitcode (this=0x1d75530)
at BitcodeReader.cpp:1389
#14 0x0000000000df8431 in llvm::getBitcodeModuleProvider (Buffer=0x1d754c0,
Context=@0x7fffffffdd90, ErrMsg=0x7fffffffd3f0)
at BitcodeReader.cpp:2084
#15 0x0000000000df84e3 in llvm::ParseBitcodeFile (Buffer=0x1d754c0,
Context=@0x7fffffffdd90, ErrMsg=0x...