File tree Expand file tree Collapse file tree 5 files changed +10
-13
lines changed Expand file tree Collapse file tree 5 files changed +10
-13
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,10 @@ set(TARGET_LIBC_ENTRYPOINTS
91
91
libc.src.stdlib.realloc
92
92
libc.src.stdlib.free
93
93
94
+ # stdio.h entrypoints
95
+ libc.src.stdio.sprintf
96
+ libc.src.stdio.snprintf
97
+
94
98
# sys/stat.h entrypoints
95
99
libc.src.sys.stat.mkdir
96
100
libc.src.sys.stat.mkdirat
@@ -242,8 +246,6 @@ if(LLVM_LIBC_FULL_BUILD)
242
246
libc.src.stdio.funlockfile
243
247
libc.src.stdio.fwrite
244
248
libc.src.stdio.fwrite_unlocked
245
- libc.src.stdio.sprintf
246
- libc.src.stdio.snprintf
247
249
libc.src.stdio.fprintf
248
250
libc.src.stdio.printf
249
251
libc.src.stdio.stderr
Original file line number Diff line number Diff line change @@ -92,6 +92,10 @@ set(TARGET_LIBC_ENTRYPOINTS
92
92
libc.src.stdlib.aligned_alloc
93
93
libc.src.stdlib.free
94
94
95
+ # stdio.h entrypoints
96
+ libc.src.stdio.sprintf
97
+ libc.src.stdio.snprintf
98
+
95
99
# sys/mman.h entrypoints
96
100
libc.src.sys.mman.mmap
97
101
libc.src.sys.mman.munmap
@@ -298,8 +302,6 @@ if(LLVM_LIBC_FULL_BUILD)
298
302
libc.src.stdio.funlockfile
299
303
libc.src.stdio.fwrite
300
304
libc.src.stdio.fwrite_unlocked
301
- libc.src.stdio.sprintf
302
- libc.src.stdio.snprintf
303
305
libc.src.stdio.fprintf
304
306
libc.src.stdio.printf
305
307
libc.src.stdio.stderr
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ add_subdirectory(inttypes)
7
7
add_subdirectory (math )
8
8
add_subdirectory (string )
9
9
add_subdirectory (stdlib )
10
+ add_subdirectory (stdio )
10
11
11
12
if (${LIBC_TARGET_OS} STREQUAL "linux" )
12
13
add_subdirectory (dirent )
@@ -24,6 +25,5 @@ endif()
24
25
# since assert uses the signal API, we disable assert also.
25
26
# add_subdirectory(assert)
26
27
# add_subdirectory(signal)
27
- add_subdirectory (stdio )
28
28
add_subdirectory (threads )
29
29
add_subdirectory (time )
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ add_subdirectory(inttypes)
34
34
add_subdirectory (math )
35
35
add_subdirectory (string )
36
36
add_subdirectory (stdlib )
37
+ add_subdirectory (stdio )
37
38
38
39
if (${LIBC_TARGET_OS} STREQUAL "linux" )
39
40
add_subdirectory (fcntl )
@@ -50,7 +51,6 @@ add_subdirectory(dirent)
50
51
# since assert uses the signal API, we disable assert also.
51
52
# add_subdirectory(assert)
52
53
# add_subdirectory(signal)
53
- add_subdirectory (stdio )
54
54
add_subdirectory (time )
55
55
56
56
if (${LIBC_TARGET_OS} STREQUAL "linux" )
Original file line number Diff line number Diff line change @@ -54,13 +54,6 @@ add_dependencies(
54
54
libc.src.__support.CPP.array_ref
55
55
)
56
56
57
- if (NOT LLVM_LIBC_FULL_BUILD ) # TODO(michaelrj): make a more permanant solution.
58
- return ()
59
- endif ()
60
-
61
- #currently stdio is fullbuild only, so this matcher that depends on a piece of
62
- #printf also has to be fullbuild only.
63
-
64
57
add_library (
65
58
LibcPrintfHelpers
66
59
PrintfMatcher.h
You can’t perform that action at this time.
0 commit comments