This is an archive of the discontinued LLVM Phabricator instance.

[MIPS] Assembly Profiler for MIPS32 using EmulateInstruction
ClosedPublic

Authored by bhushan on May 14 2015, 2:50 AM.

Details

Summary

This patch includes :

  • Implementation of assembly profiler for MIPS32 using EmulateInstruction which currently scans only prologue/epilogue assembly instructions. It uses llvm::MCDisassembler to decode assembly instructions. (More instructions will be added later to support software single stepping).
  • Addition of Software Breakpoint TrapOpcode for MIPS32.

Diff Detail

Repository
rL LLVM

Event Timeline

bhushan updated this revision to Diff 25760.May 14 2015, 2:50 AM
bhushan retitled this revision from to [MIPS] Assembly Profiler for MIPS32 using EmulateInstruction.
bhushan updated this object.
bhushan edited the test plan for this revision. (Show Details)
bhushan added reviewers: clayborg, jasonmolenda.
bhushan set the repository for this revision to rL LLVM.
bhushan added subscribers: Unknown Object (MLST), jaydeep, mohit.bhakkad, slthakur.
clayborg accepted this revision.May 14 2015, 10:08 AM
clayborg edited edge metadata.

Looks good.

This revision is now accepted and ready to land.May 14 2015, 10:08 AM
Closed by commit rL237420: Assembly profiler for mips32 (authored by bhushan.attarde). · Explain WhyMay 14 2015, 11:57 PM
This revision was automatically updated to reflect the committed changes.