1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Move the definition of LLVM_SUPPORT_XCODE_SIGNPOSTS into llvm-config.h

since it is now used by a public header file (Signposts.h).
This fixes the standalone LLDB build.
This commit is contained in:
Adrian Prantl 2021-06-16 14:26:02 -07:00
parent 341aadfd56
commit be89f7fc66
4 changed files with 6 additions and 5 deletions

View File

@ -350,9 +350,6 @@
/* Define to the default GlobalISel coverage file prefix */ /* Define to the default GlobalISel coverage file prefix */
#cmakedefine LLVM_GISEL_COV_PREFIX "${LLVM_GISEL_COV_PREFIX}" #cmakedefine LLVM_GISEL_COV_PREFIX "${LLVM_GISEL_COV_PREFIX}"
/* Whether Timers signpost passes in Xcode Instruments */
#cmakedefine01 LLVM_SUPPORT_XCODE_SIGNPOSTS
#cmakedefine HAVE_PROC_PID_RUSAGE 1 #cmakedefine HAVE_PROC_PID_RUSAGE 1
#endif #endif

View File

@ -97,4 +97,8 @@
/* Define if the xar_open() function is supported on this platform. */ /* Define if the xar_open() function is supported on this platform. */
#cmakedefine LLVM_HAVE_LIBXAR ${LLVM_HAVE_LIBXAR} #cmakedefine LLVM_HAVE_LIBXAR ${LLVM_HAVE_LIBXAR}
/* Whether Timers signpost passes in Xcode Instruments */
#cmakedefine01 LLVM_SUPPORT_XCODE_SIGNPOSTS
#endif #endif

View File

@ -18,7 +18,7 @@
#define LLVM_SUPPORT_SIGNPOSTS_H #define LLVM_SUPPORT_SIGNPOSTS_H
#include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringRef.h"
#include "llvm/Config/config.h" #include "llvm/Config/llvm-config.h"
#include <memory> #include <memory>
#if LLVM_SUPPORT_XCODE_SIGNPOSTS #if LLVM_SUPPORT_XCODE_SIGNPOSTS

View File

@ -13,7 +13,7 @@
#if LLVM_SUPPORT_XCODE_SIGNPOSTS #if LLVM_SUPPORT_XCODE_SIGNPOSTS
#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseMap.h"
#include "llvm/Support/Mutex.h" #include "llvm/Support/Mutex.h"
#endif // if LLVM_SUPPORT_XCODE_SIGNPOSTS #endif
using namespace llvm; using namespace llvm;