Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion libc/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ add_header_macro(
../libc/include/dlfcn.yaml
dlfcn.h
DEPENDS
.llvm-libc-macros.dlfcn_macros
.llvm_libc_common_h
)

Expand Down
17 changes: 0 additions & 17 deletions libc/include/dlfcn.h.def

This file was deleted.

33 changes: 25 additions & 8 deletions libc/include/dlfcn.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
header: dlfcn.h
header_template: dlfcn.h.def
standards:
- posix
macros:
# Note that macro values are quoted to keep the integer literals as
# written. Without the quotes, YAML will normalize them to minimal
# decimal, which is less readable for humans seeing the generated header.
- macro_name: RTLD_LAZY
macro_header: dlfcn-macros.h
macro_value: "0x00001"
- macro_name: RTLD_NOW
macro_header: dlfcn-macros.h
macro_value: "0x00002"
- macro_name: RTLD_GLOBAL
macro_header: dlfcn-macros.h
macro_value: "0x00100"
- macro_name: RTLD_LOCAL
macro_header: dlfcn-macros.h
types: []
enums: []
objects: []
macro_value: "0"
- macro_name: RTLD_BINDING_MASK
standards:
- gnu
macro_value: "0x00003"
- macro_name: RTLD_NOLOAD
standards:
- gnu
macro_value: "0x00004"
- macro_name: RTLD_DEEPBIND
standards:
- gnu
macro_value: "0x00008"
- macro_name: RTLD_NODELETE
standards:
- gnu
macro_value: "0x01000"
functions:
- name: dlclose
standards:
Expand Down
23 changes: 0 additions & 23 deletions libc/include/llvm-libc-macros/dlfcn-macros.h

This file was deleted.

Loading