[llvm] [libc][bazel] Fix missing dependencies for `lseek` (PR #65618)

Guillaume Chatelet via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 08:09:15 PDT 2023


https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/65618:

Failure introduced in 8cd4ecfa6001eed7486fa3618bbd6bde47a0b075

>From 1572646f137b2424528a151c7b038580db2b0578 Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Thu, 7 Sep 2023 14:59:10 +0000
Subject: [PATCH] [libc][bazel] Fix missing dependencies for `lseek`

Failure introduced in 8cd4ecfa6001eed7486fa3618bbd6bde47a0b075
---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index bdf260a783baa2b..0f35d3df4c49a1c 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -2530,9 +2530,13 @@ libc_function(
 libc_function(
     name = "lseek",
     srcs = ["src/unistd/linux/lseek.cpp"],
-    hdrs = ["src/unistd/lseek.h"],
+    hdrs = [
+        "src/__support/File/linux/lseekImpl.h",
+        "src/unistd/lseek.h",
+    ],
     deps = [
         ":__support_common",
+        ":__support_error_or",
         ":__support_osutil_syscall",
         ":errno",
     ],



More information about the llvm-commits mailing list