summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBFileSpec.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-12-04 17:51:23 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-12-04 18:20:20 -0800
commit039d4b3aa20a8f36ad058f2b9692b73c6909c612 (patch)
treebb127e58da9d4f101b666a9758eb05112980c09d /lldb/source/API/SBFileSpec.cpp
parent6ee96ddec89774a534ec93de7266a0bf38de07e8 (diff)
downloadbcm5719-llvm-039d4b3aa20a8f36ad058f2b9692b73c6909c612.tar.gz
bcm5719-llvm-039d4b3aa20a8f36ad058f2b9692b73c6909c612.zip
[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).
Diffstat (limited to 'lldb/source/API/SBFileSpec.cpp')
-rw-r--r--lldb/source/API/SBFileSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBFileSpec.cpp b/lldb/source/API/SBFileSpec.cpp
index 2f910b9ba29..2e7eba42bc9 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);
OpenPOWER on IntegriCloud