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)                 
\
   {                                                                            
\


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to