[PATCH] D151101: Add missing header for uint64_t
Paulo Matos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 22 07:32:37 PDT 2023
pmatos created this revision.
Herald added subscribers: asb, wingo.
Herald added a project: All.
pmatos requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
LLVM fails to build in some environments with EXPENSIVE_CHECKS
due to the use of uint64_t without including cstdint.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D151101
Files:
llvm/include/llvm/Pass.h
Index: llvm/include/llvm/Pass.h
===================================================================
--- llvm/include/llvm/Pass.h
+++ llvm/include/llvm/Pass.h
@@ -28,6 +28,9 @@
#ifndef LLVM_PASS_H
#define LLVM_PASS_H
+#ifdef EXPENSIVE_CHECKS
+#include <cstdint>
+#endif
#include <string>
namespace llvm {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151101.524298.patch
Type: text/x-patch
Size: 312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/6761aea5/attachment.bin>
More information about the llvm-commits
mailing list