[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
This commit is contained in:
@@ -180,7 +180,7 @@ void SBExpressionOptions::SetLanguage(lldb::LanguageType language) {
|
||||
void SBExpressionOptions::SetCancelCallback(
|
||||
lldb::ExpressionCancelCallback callback, void *baton) {
|
||||
LLDB_RECORD_DUMMY(void, SBExpressionOptions, SetCancelCallback,
|
||||
(void *, void *), callback, baton);
|
||||
(lldb::ExpressionCancelCallback, void *), callback, baton);
|
||||
|
||||
m_opaque_up->SetCancelCallback(callback, baton);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user