diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-03-06 01:49:54 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-03-06 01:49:54 +0000 |
| commit | 7e23df4437cbb656d57cb2add28b235677c4ad79 (patch) | |
| tree | c11263ccf17262f90bc8376a82f527cb36be9a8f /lldb/source/API/SBReproducer.cpp | |
| parent | dd440675cf7c98bbc7b061a1cc8e4365021414e3 (diff) | |
| download | bcm5719-llvm-7e23df4437cbb656d57cb2add28b235677c4ad79.tar.gz bcm5719-llvm-7e23df4437cbb656d57cb2add28b235677c4ad79.zip | |
[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
Diffstat (limited to 'lldb/source/API/SBReproducer.cpp')
| -rw-r--r-- | lldb/source/API/SBReproducer.cpp | 4 |
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, ()); |

