search for: jit_cod

Displaying 6 results from an estimated 6 matches for "jit_cod".

Did you mean: jit_code
2012 Mar 22
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...gt; I don't think this has anything to do with LLVM's IR-level exception system. It sounds to me like you just need a way to handle C++ exceptions inside of the C++ code and then rethrow so that the JIT's caller can do its thing. (Right?) Right. The call sequence is: my_lib(1) -> JIT_code -> C_thunk -> my_lib(2) The JIT code creates Functions that create C++ objects on their stacks (by using alloca instructions then calling a C thunk that calls the C++ object's constructor via placement new). If an exception is thrown in my_lib(2), then somewhere between there and when...
2012 Mar 21
1
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
To recap, on Mar 14, 2012, I wrote: > My project has a C++ library that I want to allow the user to use via some programming language to be JIT'd to call functions in said library. For the sake of simplicity, assume the library has classes like: > > class item_iterator { > public: > virtual ~item_iterator(); > virtual bool next( item *result ) = 0; > }; >
2012 Mar 22
1
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Mar 20, 2012, at 7:38 PM, Paul J. Lucas wrote: > To recap, on Mar 14, 2012, I wrote: > >> My project has a C++ library that I want to allow the user to use via some programming language to be JIT'd to call functions in said library. For the sake of simplicity, assume the library has classes like: >> >> class item_iterator { >> public: >> virtual
2012 Mar 23
2
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...k this has anything to do with LLVM's IR-level exception system. It sounds to me like you just need a way to handle C++ exceptions inside of the C++ code and then rethrow so that the JIT's caller can do its thing. (Right?) > > Right. The call sequence is: > > my_lib(1) -> JIT_code -> C_thunk -> my_lib(2) > > The JIT code creates Functions that create C++ objects on their stacks (by using alloca instructions then calling a C thunk that calls the C++ object's constructor via placement new). If an exception is thrown in my_lib(2), then somewhere between there...
2019 Jan 28
3
[llvm-pdbutil] : merge not working properly
...ant. Maybe it's even better to call it > something other than .text, because .text is where your DllMain and other > stuff will be. You could call it .jit if you wanted to. You should be > able to create the section with whatever flags you want to. You'll need to > produce a jit_code.obj probably compiled from assembly that makes a section > named .jit and sets the flags to be executable (you can just copy the flags > from a normal .text section of some other program). Then link this file > together along with a jitted_code_main.obj which you compiled from a simple &...
2019 Jan 23
2
[llvm-pdbutil] : merge not working properly
(Yes you are right this is my fault) Considering the string table, it only seems to contains file relative informations in every pdb I am using, and it looks correct but I will check it. I looked at the pdb.cpp code about checksums and tables, I copied some stuff and got things wrong according to cvdump, then I simplified the process of copying the table and it worked (in cvdump it finds the file