mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-14 14:56:47 +00:00
[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:
parent
dd440675cf
commit
7e23df4437
@ -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, ());
|
||||
|
Loading…
x
Reference in New Issue
Block a user