search for: createx86_32

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

2010 Apr 17
0
[LLVMdev] Intro to the MC Project
...le to execute simple functions (with no relocation in it). I'm hitting some designs questions and before going in relocations, I think, it's good to discuss them : - I have created a JITX86AsmBackend which creates the JITObjectWriter. The function which is registered to create AsmBackend (createX86_32/64AsmBackend) needs to know if it should create a classical (ELF, or Darwin/Macho) AsmBackend or a JIT one. To discriminate, I see 2 possibilities : - Add an argument to createAsmBackend functions (bool IsJIT ?) - Set something specific to the JIT on the target triple. Currently I have a "JIT&...
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