mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 20:54:40 +08:00
[lldb/Reproducers] Add missing instrumentation for SBFile (2/2)
Found another issue while running TestDefaultConstructorForAPIObjects.
This commit is contained in:
@@ -100,17 +100,17 @@ SBError SBFile::Close() {
|
||||
|
||||
SBFile::operator bool() const {
|
||||
LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, operator bool);
|
||||
return LLDB_RECORD_RESULT(IsValid());
|
||||
return IsValid();
|
||||
}
|
||||
|
||||
bool SBFile::operator!() const {
|
||||
LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBFile, operator!);
|
||||
return LLDB_RECORD_RESULT(!IsValid());
|
||||
return !IsValid();
|
||||
}
|
||||
|
||||
FileSP SBFile::GetFile() const {
|
||||
LLDB_RECORD_METHOD_CONST_NO_ARGS(FileSP, SBFile, GetFile);
|
||||
return m_opaque_sp;
|
||||
return LLDB_RECORD_RESULT(m_opaque_sp);
|
||||
}
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
Reference in New Issue
Block a user