projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10e0e2e
)
Replace printf with result.Printf, so that the plugin shows its output with any confi...
author
Enrico Granata
<egranata@apple.com>
Tue, 30 Oct 2012 18:01:15 +0000
(18:01 +0000)
committer
Enrico Granata
<egranata@apple.com>
Tue, 30 Oct 2012 18:01:15 +0000
(18:01 +0000)
llvm-svn: 167030
lldb/examples/plugins/commands/fooplugin.cpp
patch
|
blob
|
history
diff --git
a/lldb/examples/plugins/commands/fooplugin.cpp
b/lldb/examples/plugins/commands/fooplugin.cpp
index
aa97d89
..
2aaf8ff
100644
(file)
--- a/
lldb/examples/plugins/commands/fooplugin.cpp
+++ b/
lldb/examples/plugins/commands/fooplugin.cpp
@@
-35,7
+35,7
@@
public:
const char* arg = *command;
while (arg)
{
-
p
rintf("%s\n",arg);
+
result.P
rintf("%s\n",arg);
arg = *(++command);
}
return true;