[compiler-rt] 3d728ef - [scudo] Add missing <algorithm> include

Gulfem Savrun Yeniceri via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 17:15:16 PST 2022


Author: Gulfem Savrun Yeniceri
Date: 2022-02-19T01:14:14Z
New Revision: 3d728ef0ba281a72ff92e2cbc7326fc922ade13f

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

LOG: [scudo] Add missing <algorithm> include

After https://reviews.llvm.org/D119667, <algorithm> is no longer
transitively included from various headers. This patch adds the
<algorithm> include into scudo.

Differential Revision: https://reviews.llvm.org/D120171

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp b/compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
index 723679228cba..a7df3d90e7df 100644
--- a/compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
+++ b/compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
@@ -12,6 +12,7 @@
 #include "allocator_config.h"
 #include "secondary.h"
 
+#include <algorithm>
 #include <condition_variable>
 #include <memory>
 #include <mutex>


        


More information about the llvm-commits mailing list