-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3402a1a
commit 10722bf
Showing
7 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
//===-- C standard library header dlfcn.h ---------------------------------===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef LLVM_LIBC_DLFCN_H | ||
#define LLVM_LIBC_DLFCN_H | ||
|
||
#include "__llvm-libc-common.h" | ||
#include "llvm-libc-macros/dlfcn-macros.h" | ||
|
||
%%public_api() | ||
|
||
#endif // LLVM_LIBC_DLFCN_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -277,3 +277,9 @@ add_macro_header( | |
HDR | ||
stdckdint-macros.h | ||
) | ||
|
||
add_macro_header( | ||
dlfcn_macros | ||
HDR | ||
dlfcn-macros.h | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
//===-- Definition of macros from dlfcn.h ---------------------------------===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
#ifndef LLVM_LIBC_MACROS_DLFCN_MACROS_H | ||
#define LLVM_LIBC_MACROS_DLFCN_MACROS_H | ||
|
||
#define RTLD_LAZY 0x00001 | ||
#define RTLD_NOW 0x00002 | ||
#define RTLD_GLOBAL 0x00100 | ||
#define RTLD_LOCAL 0 | ||
|
||
// Non-standard stuff here | ||
#define RTLD_BINDING_MASK 0x3 | ||
#define RTLD_NOLOAD 0x00004 | ||
#define RTLD_DEEPBIND 0x00008 | ||
#define RTLD_NODELETE 0x01000 | ||
|
||
#endif // LLVM_LIBC_MACROS_DLFCN_MACROS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters