summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBInstruction.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-09-27 00:58:45 +0000
committerGreg Clayton <gclayton@apple.com>2011-09-27 00:58:45 +0000
commitfb0655ef59f52c81c8998e51477157e7794d7c05 (patch)
treec3cc61410a497f3d93b329d5856c4ae47992db04 /lldb/source/API/SBInstruction.cpp
parent581243919d9e2b06c65cb4c55834819dc75cb6d3 (diff)
downloadbcm5719-llvm-fb0655ef59f52c81c8998e51477157e7794d7c05.tar.gz
bcm5719-llvm-fb0655ef59f52c81c8998e51477157e7794d7c05.zip
Fixed the public and internal disassembler API to be named correctly:
const char * SBInstruction::GetMnemonic() const char * SBInstruction::GetOperands() const char * SBInstruction::GetComment() Fixed the symbolicate example script and the internals. llvm-svn: 140591
Diffstat (limited to 'lldb/source/API/SBInstruction.cpp')
-rw-r--r--lldb/source/API/SBInstruction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/API/SBInstruction.cpp b/lldb/source/API/SBInstruction.cpp
index d708aa035d9..26f8d1aa005 100644
--- a/lldb/source/API/SBInstruction.cpp
+++ b/lldb/source/API/SBInstruction.cpp
@@ -69,7 +69,7 @@ SBInstruction::GetAddress()
}
const char *
-SBInstruction::GetOpcodeName(SBTarget target)
+SBInstruction::GetMnemonic(SBTarget target)
{
if (m_opaque_sp)
{
@@ -81,13 +81,13 @@ SBInstruction::GetOpcodeName(SBTarget target)
target->CalculateExecutionContext (exe_ctx);
exe_ctx.SetProcessSP(target->GetProcessSP());
}
- return m_opaque_sp->GetOpcodeName(exe_ctx.GetBestExecutionContextScope());
+ return m_opaque_sp->GetMnemonic(exe_ctx.GetBestExecutionContextScope());
}
return NULL;
}
const char *
-SBInstruction::GetMnemonics(SBTarget target)
+SBInstruction::GetOperands(SBTarget target)
{
if (m_opaque_sp)
{
@@ -99,7 +99,7 @@ SBInstruction::GetMnemonics(SBTarget target)
target->CalculateExecutionContext (exe_ctx);
exe_ctx.SetProcessSP(target->GetProcessSP());
}
- return m_opaque_sp->GetMnemonics(exe_ctx.GetBestExecutionContextScope());
+ return m_opaque_sp->GetOperands(exe_ctx.GetBestExecutionContextScope());
}
return NULL;
}
OpenPOWER on IntegriCloud