LLVM 20.0.0git
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
14
15namespace llvm {
16namespace object {
17
18struct SymEntry {
21 unsigned Number;
22 unsigned SectionID;
23};
24
25int compareAddress(const SymEntry *A, const SymEntry *B);
26
27std::vector<std::pair<SymbolRef, uint64_t>>
29
30}
31} // namespace llvm
32
33#endif
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
This class is the base class for all object file types.
Definition: ObjectFile.h:229
int compareAddress(const SymEntry *A, const SymEntry *B)
Definition: SymbolSize.cpp:21
std::vector< std::pair< SymbolRef, uint64_t > > computeSymbolSizes(const ObjectFile &O)
Definition: SymbolSize.cpp:50
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
symbol_iterator I
Definition: SymbolSize.h:19