1 //===- SymbolSize.h ---------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Declares the writeArchive function for writing an archive file.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_OBJECT_SYMBOLSIZE_H
15 #define LLVM_OBJECT_SYMBOLSIZE_H
17 #include "llvm/Object/ObjectFile.h"
21 ErrorOr<std::vector<std::pair<SymbolRef, uint64_t>>>
22 computeSymbolSizes(const ObjectFile &O);