[compiler-rt] [scudo] Add missing header in combined_test (PR #66449)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 14 17:12:03 PDT 2023
https://github.com/ChiaHungDuan created https://github.com/llvm/llvm-project/pull/66449:
It uses `T max( std::initializer_list<T> ilist )` which may not be included in the build path in some build systems.
>From e903be4b70307cd45747215922fd8dd530aed715 Mon Sep 17 00:00:00 2001
From: Chia-hung Duan <chiahungduan at google.com>
Date: Fri, 15 Sep 2023 00:07:06 +0000
Subject: [PATCH] [scudo] Add missing header in combined_test
It uses `T max( std::initializer_list<T> ilist )` which may not be
included in the build path in some build systems.
---
compiler-rt/lib/scudo/standalone/tests/combined_test.cpp | 1 +
1 file changed, 1 insertion(+)
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