File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
utils/bazel/llvm-project-overlay/libc Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1076,6 +1076,22 @@ libc_support_library(
10761076 ],
10771077)
10781078
1079+ libc_support_library (
1080+ name = "__support_osutil_pid" ,
1081+ srcs = ["src/__support/OSUtil/linux/pid.cpp" ],
1082+ hdrs = ["src/__support/OSUtil/pid.h" ],
1083+ target_compatible_with = select ({
1084+ "@platforms//os:linux" : [],
1085+ "//conditions:default" : ["@platforms//:incompatible" ],
1086+ }),
1087+ deps = [
1088+ ":__support_macros_attributes" ,
1089+ ":__support_macros_optimization" ,
1090+ ":__support_osutil_syscall" ,
1091+ ":types_pid_t" ,
1092+ ]
1093+ )
1094+
10791095libc_support_library (
10801096 name = "__support_stringutil" ,
10811097 srcs = glob (["src/__support/StringUtil/tables/**/*.h" ]) + [
@@ -3032,8 +3048,11 @@ libc_function(
30323048 hdrs = ["src/unistd/getpid.h" ],
30333049 deps = [
30343050 ":__support_common" ,
3051+ ":__support_macros_config" ,
3052+ ":__support_osutil_pid" ,
30353053 ":__support_osutil_syscall" ,
30363054 ":errno" ,
3055+ ":types_pid_t" ,
30373056 ],
30383057)
30393058
You can’t perform that action at this time.
0 commit comments