[compiler-rt] e9f044a - [scudo] Add missing header in combined_test (#66449)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 18:15:13 PDT 2023


Author: ChiaHungDuan
Date: 2023-09-14T18:15:09-07:00
New Revision: e9f044a2e042ea5af7638b5915ef77f85d0c7087

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

LOG: [scudo] Add missing header in combined_test (#66449)

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

Added: 
    

Modified: 
    compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

Removed: 
    


################################################################################
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 "combined.h"
 #include "mem_map.h"
 
+#include <algorithm>
 #include <condition_variable>
 #include <memory>
 #include <mutex>


        


More information about the llvm-commits mailing list