|
@@ -38,6 +38,13 @@
|
|
#include "llvm/Support/Path.h"
|
|
#include "llvm/Support/Path.h"
|
|
#include <cstdlib>
|
|
#include <cstdlib>
|
|
|
|
|
|
|
|
+#ifdef __APPLE__
|
|
|
|
+#include <TargetConditionals.h>
|
|
|
|
+#if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
|
|
|
|
+#include "ios_error.h"
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
using namespace lld;
|
|
using namespace lld;
|
|
using namespace llvm;
|
|
using namespace llvm;
|
|
using namespace llvm::sys;
|
|
using namespace llvm::sys;
|