[compiler-rt] 063cd55 - [compiler-rt] Add missing include in unittest

Haowei Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 11:05:10 PDT 2023


Author: Haowei Wu
Date: 2023-09-12T11:05:01-07:00
New Revision: 063cd5545b6a4eb2b37bfb55b16a2391be221fe4

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

LOG: [compiler-rt] Add missing include in unittest

This patch adds a missing header to sanitizer_lzw_test to fix a build
breakage after 54c1a9b20d89e85cd60d002c77b34c00f36520f4 is landed.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_lzw_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_lzw_test.cpp
index 4899a56cdecc247..64a783eab8f2f2c 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_lzw_test.cpp
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_lzw_test.cpp
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 #include "sanitizer_common/sanitizer_lzw.h"
 
+#include <algorithm>
 #include <iterator>
 
 #include "gtest/gtest.h"


        


More information about the llvm-commits mailing list