mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-16 04:20:59 +00:00
[libc] Enable conversion functions on the GPU
These functions were previously removed due to problems running the tests with `errno` in them. This was resolved previously by making the internal implementation of these functions use a global `errno` so that tests can still use `errno` functionality as long as they are run with a single thread. This allows us to re-enable these tests as a previous patch has also resolved the issue where the `stdlib` tests could not be hermetic due to the dependence on system rounding functions. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D153016
This commit is contained in:
parent
ed578f02cf
commit
fd14f7adbe
@ -56,8 +56,19 @@ set(TARGET_LIBC_ENTRYPOINTS
|
||||
|
||||
# stdlib.h entrypoints
|
||||
libc.src.stdlib.abs
|
||||
libc.src.stdlib.atoi
|
||||
libc.src.stdlib.atof
|
||||
libc.src.stdlib.atol
|
||||
libc.src.stdlib.atoll
|
||||
libc.src.stdlib.labs
|
||||
libc.src.stdlib.llabs
|
||||
libc.src.stdlib.strtod
|
||||
libc.src.stdlib.strtof
|
||||
libc.src.stdlib.strtol
|
||||
libc.src.stdlib.strtold
|
||||
libc.src.stdlib.strtoll
|
||||
libc.src.stdlib.strtoul
|
||||
libc.src.stdlib.strtoull
|
||||
|
||||
# stdlib.h entrypoints
|
||||
libc.src.stdlib._Exit
|
||||
|
@ -85,19 +85,19 @@ stdlib.h
|
||||
Function Name Available RPC Required
|
||||
============= ========= ============
|
||||
abs |check|
|
||||
atoi
|
||||
atof
|
||||
atol
|
||||
atoll
|
||||
atoi |check|
|
||||
atof |check|
|
||||
atol |check|
|
||||
atoll |check|
|
||||
labs |check|
|
||||
llabs |check|
|
||||
strtod
|
||||
strtof
|
||||
strtol
|
||||
strtold
|
||||
strtoll
|
||||
strtoul
|
||||
strtoull
|
||||
strtod |check|
|
||||
strtof |check|
|
||||
strtol |check|
|
||||
strtold |check|
|
||||
strtoll |check|
|
||||
strtoul |check|
|
||||
strtoull |check|
|
||||
============= ========= ============
|
||||
|
||||
stdio.h
|
||||
|
Loading…
Reference in New Issue
Block a user