[llvm] 51c53a0 - Add apple-specific missing include

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 05:18:41 PST 2022


Author: serge-sans-paille
Date: 2022-01-21T14:18:29+01:00
New Revision: 51c53a0791cd2794365cab9917922ce1e324b379

URL: https://github.com/llvm/llvm-project/commit/51c53a0791cd2794365cab9917922ce1e324b379
DIFF: https://github.com/llvm/llvm-project/commit/51c53a0791cd2794365cab9917922ce1e324b379.diff

LOG: Add apple-specific missing include

Added: 
    

Modified: 
    llvm/lib/Support/PrettyStackTrace.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/PrettyStackTrace.cpp b/llvm/lib/Support/PrettyStackTrace.cpp
index 5d3335d001f3..fa91405fee10 100644
--- a/llvm/lib/Support/PrettyStackTrace.cpp
+++ b/llvm/lib/Support/PrettyStackTrace.cpp
@@ -20,6 +20,10 @@
 #include "llvm/Support/Watchdog.h"
 #include "llvm/Support/raw_ostream.h"
 
+#ifdef __APPLE__
+#include "llvm/ADT/SmallString.h"
+#endif
+
 #include <atomic>
 #include <cassert>
 #include <cstdarg>


        


More information about the llvm-commits mailing list