Skip to content

Commit 363a526

Browse files
authored
Noticed missing header when was building llvm with gcc-11 (#352)
Issue fixed on LLVM12, patch needed for older versions of LLVM. https://reviews.llvm.org/D89450
1 parent 4c04e27 commit 363a526

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 3b6c7f2ea3ff7509769e4567ca242d0e993d425f Mon Sep 17 00:00:00 2001
2+
From: Marcin Naczk <[email protected]>
3+
Date: Tue, 17 May 2022 08:01:41 +0000
4+
Subject: [PATCH] Add missing include limit in benchmark
5+
6+
---
7+
llvm/utils/benchmark/src/benchmark_register.h | 1 +
8+
1 file changed, 1 insertion(+)
9+
10+
diff --git a/llvm/utils/benchmark/src/benchmark_register.h b/llvm/utils/benchmark/src/benchmark_register.h
11+
index 0705e219f2fa..4caa5ad4da07 100644
12+
--- a/llvm/utils/benchmark/src/benchmark_register.h
13+
+++ b/llvm/utils/benchmark/src/benchmark_register.h
14+
@@ -1,6 +1,7 @@
15+
#ifndef BENCHMARK_REGISTER_H
16+
#define BENCHMARK_REGISTER_H
17+
18+
+#include <limits>
19+
#include <vector>
20+
21+
#include "check.h"
22+
--
23+
2.34.1
24+

0 commit comments

Comments
 (0)