mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 01:26:04 +00:00

A macro can specify macro_header instead of macro_value to indicate that an llvm-libc-macros/ header file is supposed to define this macro. This is used for dlfcn.h, which previously bogusly redefined the RTLD_* macros to empty.
41 lines
809 B
YAML
41 lines
809 B
YAML
header: dlfcn.h
|
|
header_template: dlfcn.h.def
|
|
macros:
|
|
- macro_name: RTLD_LAZY
|
|
macro_header: dlfcn-macros.h
|
|
- macro_name: RTLD_NOW
|
|
macro_header: dlfcn-macros.h
|
|
- macro_name: RTLD_GLOBAL
|
|
macro_header: dlfcn-macros.h
|
|
- macro_name: RTLD_LOCAL
|
|
macro_header: dlfcn-macros.h
|
|
types: []
|
|
enums: []
|
|
objects: []
|
|
functions:
|
|
- name: dlclose
|
|
standards:
|
|
- POSIX
|
|
return_type: int
|
|
arguments:
|
|
- type: void *
|
|
- name: dlerror
|
|
standards:
|
|
- POSIX
|
|
return_type: char *
|
|
arguments: []
|
|
- name: dlopen
|
|
standards:
|
|
- POSIX
|
|
return_type: void *
|
|
arguments:
|
|
- type: const char *
|
|
- type: int
|
|
- name: dlsym
|
|
standards:
|
|
- POSIX
|
|
return_type: void *
|
|
arguments:
|
|
- type: void *__restrict
|
|
- type: const char *__restrict
|