summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBReproducer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBReproducer.cpp')
-rw-r--r--lldb/source/API/SBReproducer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/API/SBReproducer.cpp b/lldb/source/API/SBReproducer.cpp
index 0e4b7206b9b..db132e62465 100644
--- a/lldb/source/API/SBReproducer.cpp
+++ b/lldb/source/API/SBReproducer.cpp
@@ -45,9 +45,6 @@ SBRegistry::SBRegistry() {
// Custom implementation.
Register(&invoke<void (SBDebugger::*)(
- FILE *, bool)>::method<&SBDebugger::SetInputFileHandle>::doit,
- &SetFileHandleRedirect);
- Register(&invoke<void (SBDebugger::*)(
FILE *, bool)>::method<&SBDebugger::SetErrorFileHandle>::doit,
&SetFileHandleRedirect);
Register(&invoke<void (SBDebugger::*)(
@@ -706,6 +703,7 @@ SBRegistry::SBRegistry() {
LLDB_REGISTER_METHOD(bool, SBDebugger, GetAsync, ());
LLDB_REGISTER_METHOD(void, SBDebugger, SkipLLDBInitFiles, (bool));
LLDB_REGISTER_METHOD(void, SBDebugger, SkipAppInitFiles, (bool));
+ LLDB_REGISTER_METHOD(void, SBDebugger, SetInputFileHandle, (FILE *, bool));
LLDB_REGISTER_METHOD(FILE *, SBDebugger, GetInputFileHandle, ());
LLDB_REGISTER_METHOD(FILE *, SBDebugger, GetOutputFileHandle, ());
LLDB_REGISTER_METHOD(FILE *, SBDebugger, GetErrorFileHandle, ());
OpenPOWER on IntegriCloud