search for: l00067

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

2014 Mar 13
2
[LLVMdev] load bytecode from string for jiting problem
...ariable for jiting the function. 1) I read the global variable with StringRef sr (gv, gv_length); 2) I manually test this bytecode by (inspired by inline bool isRawBitcode(const unsigned char *BufPtr, const unsigned char *BufEnd) at http://llvm.org/docs/doxygen/html/ReaderWriter_8h_source.html#l00067) if (sr.str()[0] == 'B') std::cout << "B ok\n"; if (sr.str()[1] == 'C') std::cout << "C ok\n"; if (sr.str()[2] == (char) 0xc0) std::cout << "0xc0 ok\n"; if (sr.str()[3] == (char) 0xde) std::cout << "0...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...(inspired by inline bool isRawBitcode(const unsigned >>>> char *BufPtr, >>>> const unsigned char *BufEnd) at >>>> http://llvm.org/docs/doxygen/_ >>>> _html/ReaderWriter_8h_source.__html#l00067 >>>> <http://llvm.org/docs/doxygen/ >>>> html/ReaderWriter_8h_source.html#l00067>) >>>> >>>> if (sr.str()[0] == 'B') >>>> std::cout << "B ok\n"; >>...
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
...variable with >> StringRef sr (gv, gv_length); >> >> 2) I manually test this bytecode by >> (inspired by inline bool isRawBitcode(const unsigned char *BufPtr, >> const unsigned char *BufEnd) at >> http://llvm.org/docs/doxygen/html/ReaderWriter_8h_source.html#l00067) >> if (sr.str()[0] == 'B') >> std::cout << "B ok\n"; >> if (sr.str()[1] == 'C') >> std::cout << "C ok\n"; >> if (sr.str()[2] == (char) 0xc0) >> std::cout << "0xc0 ok\n"; >...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...variable with >> StringRef sr (gv, gv_length); >> >> 2) I manually test this bytecode by >> (inspired by inline bool isRawBitcode(const unsigned char *BufPtr, >> const unsigned char *BufEnd) at >> http://llvm.org/docs/doxygen/html/ReaderWriter_8h_source.html#l00067) >> if (sr.str()[0] == 'B') >> std::cout << "B ok\n"; >> if (sr.str()[1] == 'C') >> std::cout << "C ok\n"; >> if (sr.str()[2] == (char) 0xc0) >> std::cout << "0xc0 ok\n"; >...
2014 Mar 19
2
[LLVMdev] load bytecode from string for jiting problem
...t; 1) I read the global variable with > StringRef sr (gv, gv_length); > > 2) I manually test this bytecode by > (inspired by inline bool isRawBitcode(const unsigned char *BufPtr, > const unsigned char *BufEnd) at > http://llvm.org/docs/doxygen/html/ReaderWriter_8h_source.html#l00067) > if (sr.str()[0] == 'B') > std::cout << "B ok\n"; > if (sr.str()[1] == 'C') > std::cout << "C ok\n"; > if (sr.str()[2] == (char) 0xc0) > std::cout << "0xc0 ok\n"; > if (sr.str()[3] == (...