LLVM
17.0.0git
include
llvm
Object
SymbolSize.h
Go to the documentation of this file.
1
//===- SymbolSize.h ---------------------------------------------*- C++ -*-===//
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
10
#ifndef LLVM_OBJECT_SYMBOLSIZE_H
11
#define LLVM_OBJECT_SYMBOLSIZE_H
12
13
#include "
llvm/Object/ObjectFile.h
"
14
15
namespace
llvm
{
16
namespace
object
{
17
18
struct
SymEntry
{
19
symbol_iterator
I
;
20
uint64_t
Address
;
21
unsigned
Number
;
22
unsigned
SectionID
;
23
};
24
25
int
compareAddress
(
const
SymEntry
*A,
const
SymEntry
*
B
);
26
27
std::vector<std::pair<SymbolRef, uint64_t>>
28
computeSymbolSizes
(
const
ObjectFile
&
O
);
29
30
}
31
}
// namespace llvm
32
33
#endif
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::object::SymEntry
Definition:
SymbolSize.h:18
llvm::object::SymEntry::Number
unsigned Number
Definition:
SymbolSize.h:21
llvm::object::SymEntry::I
symbol_iterator I
Definition:
SymbolSize.h:19
llvm::object::SymEntry::Address
uint64_t Address
Definition:
SymbolSize.h:20
B
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
llvm::object::compareAddress
int compareAddress(const SymEntry *A, const SymEntry *B)
Definition:
SymbolSize.cpp:21
llvm::RISCVFenceField::O
@ O
Definition:
RISCVBaseInfo.h:272
object
bar al al movzbl eax ret Missed when stored in a memory object
Definition:
README.txt:1411
uint64_t
llvm::object::SymEntry::SectionID
unsigned SectionID
Definition:
SymbolSize.h:22
llvm::object::symbol_iterator
Definition:
ObjectFile.h:207
ObjectFile.h
llvm::object::ObjectFile
This class is the base class for all object file types.
Definition:
ObjectFile.h:228
llvm::object::computeSymbolSizes
std::vector< std::pair< SymbolRef, uint64_t > > computeSymbolSizes(const ObjectFile &O)
Definition:
SymbolSize.cpp:50
Generated on Thu Jan 26 2023 07:01:25 for LLVM by
1.8.17