aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richardson <alexrichardson@google.com>2024-02-27 11:08:47 -0800
committerAlex Richardson <alexrichardson@google.com>2024-02-27 11:10:10 -0800
commit19181f24e516ce1cb58cd5ba27515eb968ae22d9 (patch)
tree02e3b0ab487540017c3bcccc70a5ad31753637a4
parent40ba1f60e9f4b186d71272d4bc23b5af6204244d (diff)
downloadllvm-19181f24e516ce1cb58cd5ba27515eb968ae22d9.zip
llvm-19181f24e516ce1cb58cd5ba27515eb968ae22d9.tar.gz
llvm-19181f24e516ce1cb58cd5ba27515eb968ae22d9.tar.bz2
[compiler-rt] Add missing include to sanitizer_stackdepot_test.cpp
Without this change I am seeing build failures due to missing std::next_permutation since my standard library does implicitly pull in <algorithm> anymore.
-rw-r--r--compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
index 479e4a0..e810122 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
@@ -11,6 +11,7 @@
//===----------------------------------------------------------------------===//
#include "sanitizer_common/sanitizer_stackdepot.h"
+#include <algorithm>
#include <atomic>
#include <numeric>
#include <regex>