search for: jit_raw_ostream

Displaying 2 results from an estimated 2 matches for "jit_raw_ostream".

2010 Apr 17
0
[LLVMdev] Intro to the MC Project
...riter::WriteBytes are designed to write in a raw_ostream instance, to adapt them to the JIT, I see 2 possibilities : - Add a virtual keyword on Write8/WriteBytes and re-implement them in JITObjectWriter ? This is my current solution but I fear it's not so good for the performances. - Make a JIT_raw_ostream (or a memory_raw_ostream) class (inherits from raw_ostream). What do you think ? Olivier. On Fri, Apr 16, 2010 at 10:58 PM, Daniel Dunbar <daniel_dunbar at apple.com>wrote: > I do have an opinion, but don't have enough time to comment in much depth. > The approximate approach...
2010 Apr 16
2
[LLVMdev] Intro to the MC Project
I do have an opinion, but don't have enough time to comment in much depth. The approximate approach I had in mind sounds like what you describe, though, the JITObjectWriter is the core piece, the other pieces probably fall into place as it becomes obvious if they are needed. It should be pretty straightforward to bring up something which works for running code with no external symbols, if you