[compiler-rt] 19181f2 - [compiler-rt] Add missing include to sanitizer_stackdepot_test.cpp

Alex Richardson via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 11:10:38 PST 2024


Author: Alex Richardson
Date: 2024-02-27T11:10:10-08:00
New Revision: 19181f24e516ce1cb58cd5ba27515eb968ae22d9

URL: https://github.com/llvm/llvm-project/commit/19181f24e516ce1cb58cd5ba27515eb968ae22d9
DIFF: https://github.com/llvm/llvm-project/commit/19181f24e516ce1cb58cd5ba27515eb968ae22d9.diff

LOG: [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.

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp

Removed: 
    


################################################################################
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 479e4a0c184f74..e810122a824f6f 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>


        


More information about the llvm-commits mailing list