llvm-project/llvm/lib/Object
Lang Hames 46f0a97e2c [Object] Return a symbol_iterator, rather than a basic_symbol_iterator, from
MachOObjectFile::getSymbolByIndex.

ObjectFile derivatives should prefer symbol_iterator/SymbolRef over
basic_symbol_iterator/BasicSymbolRef where possible, as the former
retain their link to the ObjectFile (rather than a SymbolicFile) and provide
more functionality.

No test for this: Existing code is working, and we don't have (m)any libObject
unit tests. I'll think about how we can test more systematically going forward.

llvm-svn: 351128
2019-01-14 22:05:12 +00:00
..
Archive.cpp Object: Find terminator correctly when reading long filenames in GNU archives (PR37244) 2018-05-08 08:22:58 +00:00
ArchiveWriter.cpp [llvm-ar] Simplify string table get-or-insert pattern with .insert, NFC 2018-12-19 20:54:06 +00:00
Binary.cpp Don't require a null terminator when loading objects 2019-01-09 23:36:32 +00:00
CMakeLists.txt Bitcode: Write the irsymtab to disk. 2017-06-27 23:50:11 +00:00
COFFImportFile.cpp [COFF] Use symbolic constants instead of hardcoded numbers. NFCI. 2018-07-20 20:48:33 +00:00
COFFModuleDefinition.cpp [COFF] Improve correctness of def parsing for GNU features 2018-05-09 09:21:53 +00:00
COFFObjectFile.cpp [llvm-readobj] [COFF] Print the symbol index for relocations 2019-01-03 08:08:23 +00:00
Decompressor.cpp Revert "[Decompression] Fail gracefully when out of memory" 2017-09-05 22:04:00 +00:00
ELF.cpp [Object] Rename getRelrRelocationType to getRelativeRelocationType 2018-12-14 07:46:58 +00:00
ELFObjectFile.cpp Use unique_ptr to hold MCInstrInfo 2018-08-24 21:03:35 +00:00
Error.cpp Add vtable anchor to classes. 2018-12-29 02:02:13 +00:00
IRObjectFile.cpp Remove redundant includes from lib/Object. 2017-12-13 21:30:55 +00:00
IRSymtab.cpp Put "built-in" function definitions in global Used list, for LTO. (fix bug 34169) 2018-07-24 19:34:37 +00:00
LLVMBuild.txt
MachOObjectFile.cpp [Object] Return a symbol_iterator, rather than a basic_symbol_iterator, from 2019-01-14 22:05:12 +00:00
MachOUniversal.cpp
ModuleSymbolTable.cpp [macho] save the SDK version stored in module metadata into the version min and 2018-12-14 01:14:10 +00:00
Object.cpp Use llvm::copy. NFC 2018-11-17 01:44:25 +00:00
ObjectFile.cpp [llvm-size][libobject] Add explicit "inTextSegment" methods similar to "isText" section methods to calculate size correctly. 2018-12-13 19:40:12 +00:00
RecordStreamer.cpp [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
RecordStreamer.h [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
SymbolSize.cpp Fix computeSymbolSizes SEGFAULT on invalid file 2018-04-23 16:08:01 +00:00
SymbolicFile.cpp Update a few switch statements to handle file_magic::pdb. 2018-03-07 18:58:33 +00:00
WasmObjectFile.cpp [WebAssembly] Massive instruction renaming 2019-01-08 06:25:55 +00:00
WindowsResource.cpp Use llvm::copy. NFC 2018-11-17 01:44:25 +00:00