Skip to content

Commit b35969c

Browse files
committed
[lldb/Reproducers] Don't instrument SBFileSpec::GetPath
This method uses a char* and length as output arguments and the reproducer instrumentation doesn't know how to deal with that (yet). (cherry picked from commit 039d4b3)
1 parent 5f1caca commit b35969c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/API/SBFileSpec.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void SBFileSpec::SetDirectory(const char *directory) {
143143
}
144144

145145
uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const {
146-
LLDB_RECORD_METHOD_CONST(uint32_t, SBFileSpec, GetPath, (char *, size_t),
146+
LLDB_RECORD_DUMMY(uint32_t, SBFileSpec, GetPath, (char *, size_t),
147147
dst_path, dst_len);
148148

149149
uint32_t result = m_opaque_up->GetPath(dst_path, dst_len);

0 commit comments

Comments
 (0)