Skip to content

Commit 27e3dc6

Browse files
committed
[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 <[email protected]>
1 parent 577d278 commit 27e3dc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/include/lldb/Interpreter/ScriptedInterface.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#ifndef LLDB_INTERPRETER_SCRIPTEDINTERFACE_H
1010
#define LLDB_INTERPRETER_SCRIPTEDINTERFACE_H
1111

12+
#ifdef _MSC_VER
13+
#define __PRETTY_FUNCTION__ __FUNCSIG__
14+
#endif
15+
1216
#include "lldb/Core/StructuredDataImpl.h"
1317
#include "lldb/Target/ExecutionContext.h"
1418
#include "lldb/Utility/Log.h"

0 commit comments

Comments
 (0)