[Lldb-commits] [lldb] 039d4b3 - [lldb/Reproducers] Don't instrument SBFileSpec::GetPath
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 4 18:20:29 PST 2019
Author: Jonas Devlieghere
Date: 2019-12-04T18:20:20-08:00
New Revision: 039d4b3aa20a8f36ad058f2b9692b73c6909c612
URL: https://github.com/llvm/llvm-project/commit/039d4b3aa20a8f36ad058f2b9692b73c6909c612
DIFF: https://github.com/llvm/llvm-project/commit/039d4b3aa20a8f36ad058f2b9692b73c6909c612.diff
LOG: [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).
Added:
Modified:
lldb/source/API/SBFileSpec.cpp
Removed:
################################################################################
diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp
index 2f910b9ba294..2e7eba42bc90 100644
--- a/lldb/source/API/SBFileSpec.cpp
+++ b/lldb/source/API/SBFileSpec.cpp
@@ -143,7 +143,7 @@ void SBFileSpec::SetDirectory(const char *directory) {
}
uint32_t SBFileSpec::GetPath(char *dst_path, size_t dst_len) const {
- LLDB_RECORD_METHOD_CONST(uint32_t, SBFileSpec, GetPath, (char *, size_t),
+ LLDB_RECORD_DUMMY(uint32_t, SBFileSpec, GetPath, (char *, size_t),
dst_path, dst_len);
uint32_t result = m_opaque_up->GetPath(dst_path, dst_len);
More information about the lldb-commits
mailing list