LLVM
8.0.1
include
llvm
Object
SymbolSize.h
Go to the documentation of this file.
1
//===- SymbolSize.h ---------------------------------------------*- C++ -*-===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//
9
//===----------------------------------------------------------------------===//
10
11
#ifndef LLVM_OBJECT_SYMBOLSIZE_H
12
#define LLVM_OBJECT_SYMBOLSIZE_H
13
14
#include "
llvm/Object/ObjectFile.h
"
15
16
namespace
llvm
{
17
namespace
object
{
18
19
struct
SymEntry
{
20
symbol_iterator
I
;
21
uint64_t
Address
;
22
unsigned
Number
;
23
unsigned
SectionID
;
24
};
25
26
int
compareAddress
(
const
SymEntry
*A,
const
SymEntry
*
B
);
27
28
std::vector<std::pair<SymbolRef, uint64_t>>
29
computeSymbolSizes
(
const
ObjectFile
&
O
);
30
31
}
32
}
// namespace llvm
33
34
#endif
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::object::SymEntry
Definition:
SymbolSize.h:19
llvm::object::ObjectFile
This class is the base class for all object file types.
Definition:
ObjectFile.h:202
llvm::RISCVFenceField::O
Definition:
RISCVBaseInfo.h:62
llvm::object::compareAddress
int compareAddress(const SymEntry *A, const SymEntry *B)
Definition:
SymbolSize.cpp:20
ObjectFile.h
llvm::object::symbol_iterator
Definition:
ObjectFile.h:181
B
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
llvm::object::SymEntry::Address
uint64_t Address
Definition:
SymbolSize.h:21
object
llvm::object::SymEntry::Number
unsigned Number
Definition:
SymbolSize.h:22
llvm::object::computeSymbolSizes
std::vector< std::pair< SymbolRef, uint64_t > > computeSymbolSizes(const ObjectFile &O)
Definition:
SymbolSize.cpp:41
llvm::object::SymEntry::I
symbol_iterator I
Definition:
SymbolSize.h:20
llvm::object::SymEntry::SectionID
unsigned SectionID
Definition:
SymbolSize.h:23
Generated on Sun Dec 20 2020 13:53:32 for LLVM by
1.8.13