[Reproducers] Implement log_append for function pointers.
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 11 Mar 2019 20:31:21 +0000 (20:31 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 11 Mar 2019 20:31:21 +0000 (20:31 +0000)
commit7bc83564357eb805c90b7d941103732ddfa221bb
treec7bece5dc5485e573b1a9f4599523a861ae9a8b6
parent885b790f89b6068ec4caad8eaa51aa8098327059
[Reproducers] Implement log_append for function pointers.

Changing the type in the DUMMY macro to void* doesn't actually fix the
build error, because the argument type is deducted from the template (as
opposed to when serializing through the instrumentation framework, where
this would matter). Instead I've added a proper instance of log_append
that takes function pointers and logs their address.

llvm-svn: 355863
lldb/include/lldb/Utility/ReproducerInstrumentation.h
lldb/source/API/SBCommunication.cpp
lldb/source/API/SBDebugger.cpp
lldb/source/API/SBExpressionOptions.cpp