Changeset 3270 in CLRX


Ignore:
Timestamp:
Aug 31, 2017, 6:22:45 PM (10 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Disasm: remove obsolete argument 'sectionCount' from disassembleRawCode, disassembleROCm and disassembleGallium.

Location:
CLRadeonExtender/trunk/amdasm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/DisasmGallium.cpp

    r3152 r3270  
    188188void CLRX::disassembleGallium(std::ostream& output,
    189189          const GalliumDisasmInput* galliumInput, ISADisassembler* isaDisassembler,
    190           size_t& sectionCount, Flags flags)
     190          Flags flags)
    191191{
    192192    const bool doDumpData = ((flags & DISASM_DUMPDATA) != 0);
  • CLRadeonExtender/trunk/amdasm/DisasmInternals.h

    r2701 r3270  
    5555extern CLRX_INTERNAL void disassembleROCm(std::ostream& output,
    5656       const ROCmDisasmInput* rocmInput, ISADisassembler* isaDisassembler,
    57        size_t& sectionCount, Flags flags);
     57       Flags flags);
    5858
    5959extern CLRX_INTERNAL void disassembleGallium(std::ostream& output,
    6060       const GalliumDisasmInput* galliumInput, ISADisassembler* isaDisassembler,
    61        size_t& sectionCount, Flags flags);
     61       Flags flags);
    6262
    6363extern CLRX_INTERNAL AmdDisasmInput* getAmdDisasmInputFromBinary32(
  • CLRadeonExtender/trunk/amdasm/DisasmROCm.cpp

    r3194 r3270  
    321321
    322322void CLRX::disassembleROCm(std::ostream& output, const ROCmDisasmInput* rocmInput,
    323            ISADisassembler* isaDisassembler, size_t& sectionCount, Flags flags)
     323           ISADisassembler* isaDisassembler, Flags flags)
    324324{
    325325    const bool doDumpData = ((flags & DISASM_DUMPDATA) != 0);
  • CLRadeonExtender/trunk/amdasm/Disassembler.cpp

    r3269 r3270  
    549549
    550550static void disassembleRawCode(std::ostream& output, const RawCodeInput* rawInput,
    551        ISADisassembler* isaDisassembler, size_t& sectionCount, Flags flags)
     551       ISADisassembler* isaDisassembler, Flags flags)
    552552{
    553553    if ((flags & DISASM_DUMPCODE) != 0)
     
    602602            break;
    603603        case BinaryFormat::ROCM:
    604             disassembleROCm(output, rocmInput, isaDisassembler.get(),
    605                               sectionCount, flags);
     604            disassembleROCm(output, rocmInput, isaDisassembler.get(), flags);
    606605            break;
    607606        case BinaryFormat::GALLIUM: // Gallium
    608             disassembleGallium(output, galliumInput, isaDisassembler.get(),
    609                            sectionCount, flags);
     607            disassembleGallium(output, galliumInput, isaDisassembler.get(), flags);
    610608            break;
    611609        default:
    612             disassembleRawCode(output, rawInput, isaDisassembler.get(),
    613                            sectionCount, flags);
     610            disassembleRawCode(output, rawInput, isaDisassembler.get(), flags);
    614611    }
    615612    output.flush();
Note: See TracChangeset for help on using the changeset viewer.