1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02: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 */
#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
#endif

View File

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

View File

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

View File

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