diff options
Diffstat (limited to 'lldb/source/API/SBFunction.cpp')
-rw-r--r-- | lldb/source/API/SBFunction.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/API/SBFunction.cpp b/lldb/source/API/SBFunction.cpp index 028725cbae2..3617c0e5a4c 100644 --- a/lldb/source/API/SBFunction.cpp +++ b/lldb/source/API/SBFunction.cpp @@ -122,6 +122,12 @@ SBFunction::GetDescription (SBStream &s) SBInstructionList SBFunction::GetInstructions (SBTarget target) { + return GetInstructions (target, NULL); +} + +SBInstructionList +SBFunction::GetInstructions (SBTarget target, const char *flavor) +{ SBInstructionList sb_instructions; if (m_opaque_ptr) { @@ -139,6 +145,7 @@ SBFunction::GetInstructions (SBTarget target) { sb_instructions.SetDisassembler (Disassembler::DisassembleRange (module_sp->GetArchitecture(), NULL, + flavor, exe_ctx, m_opaque_ptr->GetAddressRange())); } |