Displaying 4 results from an estimated 4 matches for "simple_scev_dynamic_array".
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
...have same result as invalid bit code.
The result of valgrind, effectively, i have invalid reads in the parseBitcodeFile:
==536== Conditional jump or move depends on uninitialised value(s)
==536== at 0x501FE3: llvm::BitstreamCursor::Read(unsigned int) (in /home/willy/blah_test_script/new_blah/simple_scev_dynamic_array)
==536== by 0x501A19: llvm::BitcodeReader::ParseBitcodeInto(llvm::Module*) (in /home/willy/blah_test_script/new_blah/simple_scev_dynamic_array)
==536== by 0x50AEC8: llvm::getLazyBitcodeModule(llvm::MemoryBuffer*, llvm::LLVMContext&) (in /home/willy/blah_test_script/new_blah/simple_scev_dy...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
This segfault occuring only under valgrind,
in shell way, and in gdb way i have
Invalid bitcode signature
simple_scev_dynamic_array: /home/willy/apollo/llvm/include/llvm/Support/ErrorOr.h:258: storage_type *llvm::ErrorOr<llvm::Module *>::getStorage() [T = llvm::Module *]: Assertion `!HasError && "Cannot get value when an error exists!"' failed.
Command terminated by signal 6
this is the code I use:...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...ly/hello_stuff/with_apollo/simple_loop/simple_
> scev_dynamic_array.c:84
>
>
>
>
> On 03/20/2014 10:10 AM, Willy WOLFF wrote:
>
>> This segfault occuring only under valgrind,
>> in shell way, and in gdb way i have
>>
>> Invalid bitcode signature
>> simple_scev_dynamic_array:
>> /home/willy/apollo/llvm/include/llvm/Support/ErrorOr.h:258: storage_type
>> *llvm::ErrorOr<llvm::Module *>::getStorage() [T = llvm::Module *]:
>> Assertion `!HasError && "Cannot get value when an error exists!"' failed.
>> Command terminated b...
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
I mad the change, and still have the problem.
I investigate more the source code of llvm.
First, I change isRawBitcode function to print the content of the
parameter like this:
original:
http://llvm.org/docs/doxygen/html/ReaderWriter_8h_source.html#l00081
inline bool isRawBitcode(const unsigned char *BufPtr,
const unsigned char *BufEnd) {
// These bytes sort