search for: l01971

Displaying 5 results from an estimated 5 matches for "l01971".

2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...BufPtr[3] == 0xde; >>>> } >>>> >>>> >>>> Second, I change ParseBitcodeInto as this: >>>> original: >>>> http://llvm.org/docs/doxygen/__html/BitcodeReader_8cpp___ >>>> source.html#l01971 >>>> >>>> <http://llvm.org/docs/doxygen/html/BitcodeReader_8cpp_ >>>> source.html#l01971> >>>> ... >>>> errs() << "parsebitcodeinto sniff the signature\n"; >>>>...
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
...& BufPtr[0] == 'B' && BufPtr[1] == 'C' && BufPtr[2] == 0xc0 && BufPtr[3] == 0xde; } Second, I change ParseBitcodeInto as this: original: http://llvm.org/docs/doxygen/html/BitcodeReader_8cpp_source.html#l01971 ... errs() << "parsebitcodeinto sniff the signature\n"; uint32_t bvar = Stream.Read(8); errs() << "B :" << bvar << "\n"; if (bvar != 'B') { errs() << "B :" << bvar << "\n"; return Error(Inv...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...BufPtr[1] == 'C' && >> BufPtr[2] == 0xc0 && >> BufPtr[3] == 0xde; >> } >> >> >> Second, I change ParseBitcodeInto as this: >> original: http://llvm.org/docs/doxygen/html/BitcodeReader_8cpp_source.html#l01971 >> ... >> errs() << "parsebitcodeinto sniff the signature\n"; >> uint32_t bvar = Stream.Read(8); >> errs() << "B :" << bvar << "\n"; >> if (bvar != 'B') { >...
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
...;B' && > BufPtr[1] == 'C' && > BufPtr[2] == 0xc0 && > BufPtr[3] == 0xde; > } > > > Second, I change ParseBitcodeInto as this: > original: http://llvm.org/docs/doxygen/html/BitcodeReader_8cpp_source.html#l01971 > ... > errs() << "parsebitcodeinto sniff the signature\n"; > uint32_t bvar = Stream.Read(8); > errs() << "B :" << bvar << "\n"; > if (bvar != 'B') { > err...
2014 Mar 13
2
[LLVMdev] load bytecode from string for jiting problem
Hello, I having a weird problem while writing a bytecode module to a string, and after read/parse it for unsing on a jit. I write a pass to export function to module, and put this module inside a global variable. I use WriteBitcodeToFile for this. For debuging, after this write, I try to load the exported module with parseBitcodeFile. This two step works. After, while the compiled program is