LLDB  mainline
lldb_private::repro::invoke_char_ptr< Signature > Struct Template Reference

Special handling for functions returning strings as (char*, size_t). More...

#include <ReproducerInstrumentation.h>

Detailed Description

template<typename Signature>
struct lldb_private::repro::invoke_char_ptr< Signature >

Special handling for functions returning strings as (char*, size_t).

{ For inline replay, we ignore the arguments and use the ones from the serializer instead. This doesn't work for methods that use a char* and a size to return a string. For one these functions have a custom replayer to prevent override the input buffer. Furthermore, the template-generated deserialization is not easy to hook into.

The specializations below hand-implement the serialization logic for the inline replay. Instead of using the function from the registry, it uses the one passed into the macro.

Definition at line 1037 of file ReproducerInstrumentation.h.


The documentation for this struct was generated from the following file: