diff options
author | Schrodinger ZHU Yifan <yifanzhu@rochester.edu> | 2023-12-05 15:31:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 12:31:00 -0800 |
commit | 86bde5adc8f20a619c7ccbfee5d9bf92c5429226 (patch) | |
tree | a9f5dd98526ce29bafad98349323f0a85aa07d54 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 901bc5129d1a1e8ad47801343d48dcd9e01ad386 (diff) | |
download | llvm-86bde5adc8f20a619c7ccbfee5d9bf92c5429226.zip llvm-86bde5adc8f20a619c7ccbfee5d9bf92c5429226.tar.gz llvm-86bde5adc8f20a619c7ccbfee5d9bf92c5429226.tar.bz2 |
[libc] implement prctl (#74386)
Implement `prctl` as specified in
https://man7.org/linux/man-pages/man2/prctl.2.html.
This patch also includes test cases covering two simple use cases:
1. `PR_GET_NAME/PR_SET_NAME`: where userspace data is passed via arg2.
2. `PR_GET_THP_DISABLE`: where return value is passed via syscal retval.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions