[lldb/Reproducers] Add missing strings for redirect macro
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 6 Feb 2020 20:36:07 +0000 (12:36 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 6 Feb 2020 22:01:03 +0000 (14:01 -0800)
lldb/include/lldb/Utility/ReproducerInstrumentation.h

index a562511..944d463 100644 (file)
@@ -96,7 +96,8 @@ template <typename... Ts> inline std::string stringify_args(const Ts &... ts) {
       return char_ptr_redirect_static<Result>(Class::Method, s, l);            \
     };                                                                         \
     R.Register<Result(char *, size_t)>(                                        \
-        static_cast<Result (*)(char *, size_t)>(&Class::Method), _redirect);   \
+        static_cast<Result (*)(char *, size_t)>(&Class::Method), _redirect,    \
+        #Result, #Class, #Method, "(char*, size_t");                           \
   }
 #define LLDB_REGISTER_CHAR_PTR_REDIRECT(Result, Class, Method)                 \
   {                                                                            \