Warning: This file is not a C or C++ file. It does not have highlighting.

1//===-- Definition of type struct dl_phdr_info ---------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===---------------------------------------------------------------------===//
8
9#ifndef LLVM_LIBC_TYPES_STRUCT_DL_PHDR_INFO_H
10#define LLVM_LIBC_TYPES_STRUCT_DL_PHDR_INFO_H
11
12#include "../llvm-libc-macros/link-macros.h"
13#include "size_t.h"
14#include <elf.h>
15#include <stdint.h>
16
17struct dl_phdr_info {
18 ElfW(Addr) dlpi_addr;
19 const char *dlpi_name;
20 const ElfW(Phdr) * dlpi_phdr;
21 ElfW(Half) dlpi_phnum;
22
23 uint64_t dlpi_adds;
24 uint64_t dlpi_subs;
25
26 size_t dlpi_tls_modid;
27 void *dlpi_tls_data;
28};
29
30#endif // LLVM_LIBC_TYPES_STRUCT_DL_PHDR_INFO_H
31

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of libc/include/llvm-libc-types/struct_dl_phdr_info.h