[Lldb-commits] [lldb] 2d59178 - [lldb/Reproducers] Add missing strings for redirect macro

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 6 14:02:45 PST 2020


Author: Jonas Devlieghere
Date: 2020-02-06T14:01:03-08:00
New Revision: 2d591786343288828d00b9601693bb9d1663c2a9

URL: https://github.com/llvm/llvm-project/commit/2d591786343288828d00b9601693bb9d1663c2a9
DIFF: https://github.com/llvm/llvm-project/commit/2d591786343288828d00b9601693bb9d1663c2a9.diff

LOG: [lldb/Reproducers] Add missing strings for redirect macro

Added: 
    

Modified: 
    lldb/include/lldb/Utility/ReproducerInstrumentation.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Utility/ReproducerInstrumentation.h b/lldb/include/lldb/Utility/ReproducerInstrumentation.h
index a562511d6012..944d46340622 100644
--- a/lldb/include/lldb/Utility/ReproducerInstrumentation.h
+++ b/lldb/include/lldb/Utility/ReproducerInstrumentation.h
@@ -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)                 \
   {                                                                            \


        


More information about the lldb-commits mailing list