Displaying 2 results from an estimated 2 matches for "disasmlin".
Did you mean:
disasmline
2013 Oct 10
0
[LLVMdev] [PATCH] R600/SI: Embed disassembly in ELF object
...er.SwitchSection(ConfigSection);
> + const AMDGPUSubtarget &STM = TM.getSubtarget<AMDGPUSubtarget>();
> if (STM.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) {
> EmitProgramInfoSI(MF);
> } else {
> EmitProgramInfoR600(MF);
> }
> +
> + DisasmLines.clear();
> + HexLines.clear();
> + DisasmLineMaxLen = 0;
> +
> OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
> EmitFunctionBody();
> +
> + if (STM.dumpCode()) {
> +#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
> + MF.dump();
> +#en...
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