Skip to content

[scudo] Add missing header in combined_test #66449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

ChiaHungDuan
Copy link
Contributor

It uses T max( std::initializer_list<T> ilist ) which may not be included in the build path in some build systems.

It uses `T max( std::initializer_list<T> ilist )` which may not be
included in the build path in some build systems.
@llvmbot
Copy link
Member

llvmbot commented Sep 15, 2023

@llvm/pr-subscribers-compiler-rt-sanitizer

Changes It uses `T max( std::initializer_list ilist )` which may not be included in the build path in some build systems. -- Full diff: https://github.com//pull/66449.diff

1 Files Affected:

  • (modified) compiler-rt/lib/scudo/standalone/tests/combined_test.cpp (+1)
diff --git a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
index 6ca9a7c7002ce3c..a8fc5387d670ee1 100644
--- a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+++ b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
@@ -14,6 +14,7 @@
 #include &quot;combined.h&quot;
 #include &quot;mem_map.h&quot;
 
+#include &lt;algorithm&gt;
 #include &lt;condition_variable&gt;
 #include &lt;memory&gt;
 #include &lt;mutex&gt;

@ChiaHungDuan ChiaHungDuan merged commit e9f044a into llvm:main Sep 15, 2023
ZijunZhaoCCK pushed a commit to ZijunZhaoCCK/llvm-project that referenced this pull request Sep 19, 2023
It uses `T max( std::initializer_list<T> ilist )` which may not be
included in the build path in some build systems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants