A64: Add Disassemble method

This commit is contained in:
MerryMage 2018-01-28 17:56:26 +00:00
parent cc0eb18a0b
commit bafb39ebc5
8 changed files with 98 additions and 32 deletions

View file

@ -10,6 +10,7 @@
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <dynarmic/A64/config.h>
@ -100,6 +101,12 @@ public:
*/
bool IsExecuting() const;
/**
* Debugging: Disassemble all of compiled code.
* @return A string containing disassembly of all host machine code produced.
*/
std::string Disassemble() const;
private:
struct Impl;
std::unique_ptr<Impl> impl;