[yaml2obj/obj2yaml] - Add support for .stack_sizes sections.
[llvm-complete.git] / tools / llvm-objcopy / MachO / Object.cpp
blob264f39c28ed211a2b11d20f266eb97f6c4f281f2
1 #include "Object.h"
2 #include "../llvm-objcopy.h"
4 namespace llvm {
5 namespace objcopy {
6 namespace macho {
8 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const {
9 assert(Index < Symbols.size() && "invalid symbol index");
10 return Symbols[Index].get();
13 } // end namespace macho
14 } // end namespace objcopy
15 } // end namespace llvm