File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change
1
+ if(LIBC_TARGET_ARCHITECTURE_IS_AMDGPU)
2
+ set(extra_entrypoints
3
+ # stdio.h entrypoints
4
+ libc.src.stdio.sprintf
5
+ libc.src.stdio.snprintf
6
+ libc.src.stdio.vsprintf
7
+ libc.src.stdio.vsnprintf
8
+ )
9
+ endif()
10
+
1
11
set(TARGET_LIBC_ENTRYPOINTS
2
12
# assert.h entrypoints
3
13
libc.src.assert.__assert_fail
@@ -175,6 +185,7 @@ set(TARGET_LIBC_ENTRYPOINTS
175
185
libc.src.errno.errno
176
186
177
187
# stdio.h entrypoints
188
+ ${extra_entrypoints}
178
189
libc.src.stdio.feof
179
190
libc.src.stdio.ferror
180
191
libc.src.stdio.fseek
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ add_libc_test(
86
86
libc.src.__support.uint128
87
87
)
88
88
89
- # The GPU does not support varargs currently.
90
- if (NOT LIBC_TARGET_OS_IS_GPU )
89
+ # NVPTX does not support varargs currently.
90
+ if (NOT LIBC_TARGET_ARCHITECTURE_IS_NVPTX )
91
91
add_libc_test (
92
92
arg_list_test
93
93
SUITE
You can’t perform that action at this time.
0 commit comments