llvm-6502/include/llvm/Object
Michael J. Spencer 0f76e648d8 [Object][Archive] Improve performance.
Improve performance of iterating over children and accessing the member file
buffer by caching the file size and moving code out to the header.

This also makes getBuffer return a StringRef instead of a MemoryBuffer. Both
fixing a memory leak and removing a malloc.

This takes getBuffer from ~10% of the time in lld to unmeasurable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174272 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-03 10:48:50 +00:00
..
Archive.h [Object][Archive] Improve performance. 2013-02-03 10:48:50 +00:00
Binary.h [Object, DebugInfo] Make DWARFContext BE-aware. 2013-01-09 02:45:05 +00:00
COFF.h Add interface for querying object files for symbol values. 2012-10-29 10:47:00 +00:00
ELF.h Add AArch64 as an experimental target. 2013-01-31 12:12:40 +00:00
Error.h Object: Add proper error handling. 2011-06-25 17:55:23 +00:00
MachO.h Add a function to get the segment name of a section. 2012-12-21 03:47:03 +00:00
MachOFormat.h [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
MachOObject.h [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
ObjectFile.h Fix include guards so they exactly match file names. 2013-01-10 00:45:19 +00:00
RelocVisitor.h Object/RelocVisitor: Add minimal support, R_MIPS_32, for mips. 2013-01-26 08:27:36 +00:00