[Reproducers] Don't intercept SBDebugger::SetInputFileHandle

With the reproducer logic in place for the command interpreter we no
longer need to make SBDebugger::SetInputFileHandle a no-op.

llvm-svn: 355469
This commit is contained in:
Jonas Devlieghere 2019-03-06 01:49:54 +00:00
parent dd440675cf
commit 7e23df4437

View File

@ -44,9 +44,6 @@ static bool GetDefaultArchitectureRedirect(char *arch_name,
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);
@ -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, ());