diff options
author | Mikhail R. Gadelha <mikhail@igalia.com> | 2023-03-15 14:10:54 -0300 |
---|---|---|
committer | Mikhail R. Gadelha <mikhail@igalia.com> | 2023-03-16 06:16:14 -0300 |
commit | 1990ce74dcbd5fbb5c71672b50730007be3dcd5e (patch) | |
tree | 53e810995cbcd73a40b367770e167786a0d77549 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | fe99de31d949187fa9759de581041bb1aff460ea (diff) | |
download | llvm-1990ce74dcbd5fbb5c71672b50730007be3dcd5e.zip llvm-1990ce74dcbd5fbb5c71672b50730007be3dcd5e.tar.gz llvm-1990ce74dcbd5fbb5c71672b50730007be3dcd5e.tar.bz2 |
[libc] Enable __llvm_libc_syscall and fork
This patch enables the remaining calls from unistd.
The test cases had to be updated to:
1. Use SYS_symlinkat if SYS_symlink is not available
2. Use SYS_readlinkat if SYS_readlink is not available
3. Use SYS_unlinkat if SYS_unlink is not available
4. Use SYS_openat if SYS_open is not available
We also abort compilation if neither of the syscalls mentioned above are
available.
Differential Revision: https://reviews.llvm.org/D146161
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions