From 93f423aff6a293ff5212c1d870963c87c7b7823c Mon Sep 17 00:00:00 2001 From: misaka00251 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 #include +#include #include "src/base/logging.h" namespace v8::internal::compiler::turboshaft { -- 2.39.3 (Apple Git-145)