4d95ec15e8c9c87e27647eaaeb16a7843d9bd6c9
[oota-llvm.git] / include / llvm / Object / SymbolSize.h
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 // Declares the writeArchive function for writing an archive file.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_OBJECT_SYMBOLSIZE_H
15 #define LLVM_OBJECT_SYMBOLSIZE_H
16
17 #include "llvm/Object/ObjectFile.h"
18
19 namespace llvm {
20 namespace object {
21 ErrorOr<std::vector<std::pair<SymbolRef, uint64_t>>>
22 computeSymbolSizes(const ObjectFile &O);
23 }
24 } // namespace llvm
25
26 #endif