search for: objstream

Displaying 3 results from an estimated 3 matches for "objstream".

Did you mean: lobjstream
2015 Apr 12
2
[LLVMdev] Looking for advice on how to debug a problem with C++ style exception handling code that my compiler generates.
Logan, How would I dump the object file generated by the JIT compiler pipeline? Could you point me to an example of how something like that is done? I’m used to working with the JIT machinery in memory but not writing object files out to disk. I’m have code to generate object files for AOT compilation - is it done the same way? Best, .Chris. On Apr 12, 2015, at 2:27 PM, Logan Chien
2013 Oct 10
0
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
...asmStream, StringRef()); > + > + // Disassemble instruction/operands to hex representation. > + SmallVector<MCFixup, 4> Fixups; > + SmallVector<char, 16> CodeBytes; > + raw_svector_ostream CodeStream(CodeBytes); > + > + MCObjectStreamer &ObjStreamer = (MCObjectStreamer &)OutStreamer; > + MCCodeEmitter &InstEmitter = ObjStreamer.getAssembler().getEmitter(); > + InstEmitter.EncodeInstruction(TmpInst, CodeStream, Fixups); > + CodeStream.flush(); > + > + HexLines.resize(HexLines.size() + 1); > +...
2013 Oct 10
2
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
Hi, This patch adds R600/SI disassembly text to compiled object files, when a code dump is requested, to assist debugging in Mesa clients. Here's an example of the output in a Mesa client with a corresponding patch and RADEON_DUMP_SHADERS set: Shader Disassembly: S_WQM_B64 EXEC, EXEC ; BEFE0A7E S_MOV_B32 M0, SGPR6 ; BEFC0306