File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
utils/bazel/llvm-project-overlay/libc Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -4609,6 +4609,28 @@ libc_math_function(name = "ufromfpxf16")
4609
4609
4610
4610
############################## inttypes targets ##############################
4611
4611
4612
+ libc_function (
4613
+ name = "strtoimax" ,
4614
+ srcs = ["src/inttypes/strtoimax.cpp" ],
4615
+ hdrs = ["src/inttypes/strtoimax.h" ],
4616
+ deps = [
4617
+ ":__support_common" ,
4618
+ ":__support_str_to_integer" ,
4619
+ ":errno" ,
4620
+ ],
4621
+ )
4622
+
4623
+ libc_function (
4624
+ name = "strtoumax" ,
4625
+ srcs = ["src/inttypes/strtoumax.cpp" ],
4626
+ hdrs = ["src/inttypes/strtoumax.h" ],
4627
+ deps = [
4628
+ ":__support_common" ,
4629
+ ":__support_str_to_integer" ,
4630
+ ":errno" ,
4631
+ ],
4632
+ )
4633
+
4612
4634
libc_function (
4613
4635
name = "imaxabs" ,
4614
4636
srcs = ["src/inttypes/imaxabs.cpp" ],
Original file line number Diff line number Diff line change @@ -10,6 +10,24 @@ package(default_visibility = ["//visibility:public"])
10
10
11
11
licenses (["notice" ])
12
12
13
+ libc_test (
14
+ name = "strtoimax_test" ,
15
+ srcs = ["strtoimax_test.cpp" ],
16
+ deps = [
17
+ "//libc:strtoimax" ,
18
+ "//libc/test/src/stdlib:strtol_test_helper" ,
19
+ ],
20
+ )
21
+
22
+ libc_test (
23
+ name = "strtoumax_test" ,
24
+ srcs = ["strtoumax_test.cpp" ],
25
+ deps = [
26
+ "//libc:strtoumax" ,
27
+ "//libc/test/src/stdlib:strtol_test_helper" ,
28
+ ],
29
+ )
30
+
13
31
libc_test (
14
32
name = "imaxabs_test" ,
15
33
srcs = ["imaxabs_test.cpp" ],
You can’t perform that action at this time.
0 commit comments