search for: foogv

Displaying 1 result from an estimated 1 matches for "foogv".

Did you mean: fongv
2012 Jun 17
1
[LLVMdev] Adding code after compilation
Hi, I want to be able add a function to a module after it is (partly) compiled in JIT. Let's say we have these functions: Foo() { Stuff; } Bar() { Foo(); MoreStuff; } I want to have a module with Foo optimized and have a callable pointer to Foo. Later, I want to generate Bar, optimize it (so Foo is inlined) and than get a callable pointer to Bar. Is this possible? If so, is there a way to