[compiler-rt] db13f5a - [scudo] Add missing include for extern variable declaration
Dominic Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 29 14:26:29 PDT 2022
Author: Dominic Chen
Date: 2022-03-29T14:26:15-07:00
New Revision: db13f5a1b01e323ac1954bc239d47516d3227c47
URL: https://github.com/llvm/llvm-project/commit/db13f5a1b01e323ac1954bc239d47516d3227c47
DIFF: https://github.com/llvm/llvm-project/commit/db13f5a1b01e323ac1954bc239d47516d3227c47.diff
LOG: [scudo] Add missing include for extern variable declaration
Add include to resolve compiler warning about no previous extern declaration for non-static HashAlgorithm
Differential Revision: https://reviews.llvm.org/D122630
Added:
Modified:
compiler-rt/lib/scudo/standalone/checksum.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/checksum.cpp b/compiler-rt/lib/scudo/standalone/checksum.cpp
index 05d4ba54bfc8a..2c277391a2ec1 100644
--- a/compiler-rt/lib/scudo/standalone/checksum.cpp
+++ b/compiler-rt/lib/scudo/standalone/checksum.cpp
@@ -8,6 +8,7 @@
#include "checksum.h"
#include "atomic_helpers.h"
+#include "chunk.h"
#if defined(__x86_64__) || defined(__i386__)
#include <cpuid.h>
More information about the llvm-commits
mailing list