blob: c98f034f3f5b4ffe7df718f074d08161a9f2d750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
From 93f423aff6a293ff5212c1d870963c87c7b7823c Mon Sep 17 00:00:00 2001
From: misaka00251 <liuxin@iscas.ac.cn>
Date: Mon, 29 Jan 2024 16:36:54 +0800
Subject: [PATCH] Fix headers & ldflags
---
build/config/compiler/BUILD.gn | 2 +-
v8/src/compiler/turboshaft/utils.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 6d05512ae3..b04747fd19 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -773,7 +773,7 @@ config("compiler") {
# toolchain has this flag.
# We only use one version of LLVM within a build so there's no need to
# upgrade debug info, which can be expensive since it runs the verifier.
- ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
+ # ldflags += [ "-Wl,-mllvm,-disable-auto-upgrade-debug-info" ]
}
}
diff --git a/v8/src/compiler/turboshaft/utils.h b/v8/src/compiler/turboshaft/utils.h
index 232c7a6dbd..8b70a15a88 100644
--- a/v8/src/compiler/turboshaft/utils.h
+++ b/v8/src/compiler/turboshaft/utils.h
@@ -8,6 +8,7 @@
#include <iostream>
#include <tuple>
+#include <limits>
#include "src/base/logging.h"
namespace v8::internal::compiler::turboshaft {
--
2.39.3 (Apple Git-145)
|