The .yaml files should live next to the corresponding .h.def files in libc/include/, rather than next to the implementation of the tool in libc/utils/hdrgen/. As with the .h.def files, there is no need for a yaml/ subdirectory under include/. This simpler layout is more natural for maintenance and also simplifies build integration outside the LLVM CMake build.
17 lines
275 B
YAML
17 lines
275 B
YAML
header: sys-random.h
|
|
macros: []
|
|
types:
|
|
- type_name: ssize_t
|
|
- type_name: size_t
|
|
enums: []
|
|
objects: []
|
|
functions:
|
|
- name: getrandom
|
|
standards:
|
|
- Linux
|
|
return_type: ssize_t
|
|
arguments:
|
|
- type: void *
|
|
- type: size_t
|
|
- type: unsigned int
|