aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2022-01-21 14:59:11 +0100
committerserge-sans-paille <sguelton@redhat.com>2022-01-21 14:59:30 +0100
commit7e3bcae5069fdb13ba6241b726d3a3912287784e (patch)
tree48996fe510458b24e1b2b8a6660bc5eadb127479 /llvm/lib/Support/GraphWriter.cpp
parent622354a522073b0a048a88c957b161fb376a40eb (diff)
downloadllvm-7e3bcae5069fdb13ba6241b726d3a3912287784e.zip
llvm-7e3bcae5069fdb13ba6241b726d3a3912287784e.tar.gz
llvm-7e3bcae5069fdb13ba6241b726d3a3912287784e.tar.bz2
Add apple-specific missing header in Support/GraphWriter.cpp
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
-rw-r--r--llvm/lib/Support/GraphWriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index 6e6d79b..e875e18 100644
--- a/llvm/lib/Support/GraphWriter.cpp
+++ b/llvm/lib/Support/GraphWriter.cpp
@@ -25,6 +25,11 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/raw_ostream.h"
+
+#ifdef __APPLE__
+#include "llvm/Support/CommandLine.h"
+#endif
+
#include <string>
#include <system_error>
#include <vector>