Author: Med Ismail Bennani Date: 2021-10-08T18:27:21+02:00 New Revision: f94c9af6227f49c5da5bf1c9f97fdf887d26774c
URL: https://github.com/llvm/llvm-project/commit/f94c9af6227f49c5da5bf1c9f97fdf887d26774c DIFF: https://github.com/llvm/llvm-project/commit/f94c9af6227f49c5da5bf1c9f97fdf887d26774c.diff LOG: [lldb] Fix windows build failure due to undefined macro This should fix a build failure on Windows caused by the macro __PRETTY_FUNCTION__ not being defined. https://lab.llvm.org/buildbot/#/builders/83/builds/10836 https://reviews.llvm.org/D107585 Signed-off-by: Med Ismail Bennani <medismail.benn...@gmail.com> Added: Modified: lldb/include/lldb/Interpreter/ScriptedInterface.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Interpreter/ScriptedInterface.h b/lldb/include/lldb/Interpreter/ScriptedInterface.h index 38164739bab5..bd1ed11279f4 100644 --- a/lldb/include/lldb/Interpreter/ScriptedInterface.h +++ b/lldb/include/lldb/Interpreter/ScriptedInterface.h @@ -9,6 +9,10 @@ #ifndef LLDB_INTERPRETER_SCRIPTEDINTERFACE_H #define LLDB_INTERPRETER_SCRIPTEDINTERFACE_H +#ifdef _MSC_VER +#define __PRETTY_FUNCTION__ __FUNCSIG__ +#endif + #include "lldb/Core/StructuredDataImpl.h" #include "lldb/Target/ExecutionContext.h" #include "lldb/Utility/Log.h" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits