summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/lib/Xcode.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-03-19 04:41:22 +0000
committerGreg Clayton <gclayton@apple.com>2013-03-19 04:41:22 +0000
commite0b924e3bf83de1f51e1af967916d8612036dbdc (patch)
treeac0c4fb498463a29782cfb517b677d87d087a0c8 /lldb/tools/lldb-perf/lib/Xcode.cpp
parentde78866594d7f38cdf4418552b4034cc81d4a803 (diff)
downloadbcm5719-llvm-e0b924e3bf83de1f51e1af967916d8612036dbdc.tar.gz
bcm5719-llvm-e0b924e3bf83de1f51e1af967916d8612036dbdc.zip
More cleanup on the lldb-perf code:
- TestCase.m_thread is now filled in with the first thread that has a valid stop reason. This eliminates the need for the SelectMyThread() functions. - The first thread that stops for a reason is also set as the selected thread in the process in case any command line commands are run. - Changed launch over to take a SBLaunchInfo parameter so that the launch function doesn't keep getting new arguments as they are needed. - TestCase::Setup() and TestCase::Launch(SBLaunchInfo) now return bool to indicate success of setup and launch. - ActionWanted::Next(SBThread) was renamed to ActionWanted::StepOver(SBThread) - ActionWanted::Finish(SBThread) was renamed to ActionWanted::StepOut(SBThread) llvm-svn: 177376
Diffstat (limited to 'lldb/tools/lldb-perf/lib/Xcode.cpp')
-rw-r--r--lldb/tools/lldb-perf/lib/Xcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-perf/lib/Xcode.cpp b/lldb/tools/lldb-perf/lib/Xcode.cpp
index e0b2a798699..6d42118384f 100644
--- a/lldb/tools/lldb-perf/lib/Xcode.cpp
+++ b/lldb/tools/lldb-perf/lib/Xcode.cpp
@@ -26,7 +26,7 @@ Xcode::FetchVariable (SBValue value, uint32_t expand, bool verbose)
auto type_3 = value.GetType();
auto type_name_2 = value.GetTypeName();
if (verbose)
- printf("%s %s = %llu %s\n",value.GetTypeName(),value.GetName(),num_value,summary);
+ printf("%s %s = 0x%llx (%llu) %s\n",value.GetTypeName(),value.GetName(),num_value, num_value,summary);
if (expand > 0)
{
auto count = value.GetNumChildren();
OpenPOWER on IntegriCloud