[llvm] 7e3bcae - Add apple-specific missing header in Support/GraphWriter.cpp
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 21 05:59:40 PST 2022
Author: serge-sans-paille
Date: 2022-01-21T14:59:30+01:00
New Revision: 7e3bcae5069fdb13ba6241b726d3a3912287784e
URL: https://github.com/llvm/llvm-project/commit/7e3bcae5069fdb13ba6241b726d3a3912287784e
DIFF: https://github.com/llvm/llvm-project/commit/7e3bcae5069fdb13ba6241b726d3a3912287784e.diff
LOG: Add apple-specific missing header in Support/GraphWriter.cpp
Added:
Modified:
llvm/lib/Support/GraphWriter.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Support/GraphWriter.cpp b/llvm/lib/Support/GraphWriter.cpp
index 6e6d79b225ac..e875e18a7e92 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>
More information about the llvm-commits
mailing list