[PATCH] D122630: [scudo] Add missing include for extern variable declaration
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 21:51:08 PDT 2022
ddcc created this revision.
ddcc added a reviewer: vitalybuka.
Herald added a project: All.
ddcc requested review of this revision.
Herald added a project: Sanitizers.
Add include to resolve compiler warning about no previous extern declaration for non-static HashAlgorithm
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122630
Files:
compiler-rt/lib/scudo/standalone/checksum.cpp
Index: compiler-rt/lib/scudo/standalone/checksum.cpp
===================================================================
--- compiler-rt/lib/scudo/standalone/checksum.cpp
+++ 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122630.418780.patch
Type: text/x-patch
Size: 379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220329/a390b51c/attachment.bin>
More information about the llvm-commits
mailing list