[libc-commits] [PATCH] D134665: Implement `getrandom` function for linux targets.

Schrodinger ZHU Yifan via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Sep 26 18:41:32 PDT 2022


SchrodingerZhu updated this revision to Diff 463069.
SchrodingerZhu added a comment.

- address code reviews:
  - add `getrandom` to linux specification
  - add `sys/random.h` to header target
  - random format bits


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134665/new/

https://reviews.llvm.org/D134665

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/config/linux/x86_64/headers.txt
  libc/include/CMakeLists.txt
  libc/include/llvm-libc-macros/CMakeLists.txt
  libc/include/llvm-libc-macros/linux/CMakeLists.txt
  libc/include/llvm-libc-macros/linux/sys-random-macros.h
  libc/include/llvm-libc-macros/sys-random-macros.h
  libc/include/sys/random.h.def
  libc/spec/linux.td
  libc/src/sys/CMakeLists.txt
  libc/src/sys/random/CMakeLists.txt
  libc/src/sys/random/getrandom.h
  libc/src/sys/random/linux/CMakeLists.txt
  libc/src/sys/random/linux/getrandom.cpp
  libc/test/src/sys/CMakeLists.txt
  libc/test/src/sys/random/CMakeLists.txt
  libc/test/src/sys/random/linux/CMakeLists.txt
  libc/test/src/sys/random/linux/getrandom_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134665.463069.patch
Type: text/x-patch
Size: 11200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220927/b075a37f/attachment-0001.bin>


More information about the libc-commits mailing list