summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/Inputs
Commit message (Collapse)AuthorAgeFilesLines
...
* Clarify getRelocationAddress x getRelocationOffset a bit.Rafael Espindola2013-04-251-0/+0
| | | | | | | | | | getRelocationAddress is for dynamic libraries and executables, getRelocationOffset for relocatable objects. Mark the getRelocationAddress of COFF and MachO as not implemented yet. Add a test of ELF's. llvm-readobj -r now prints the same values as readelf -r. llvm-svn: 180259
* Fix typo.Rafael Espindola2013-04-232-4/+4
| | | | llvm-svn: 180137
* Don't read one command past the end.Rafael Espindola2013-04-191-0/+0
| | | | | | | | | Thanks to Evgeniy Stepanov for reporting this. It might be a good idea to add a command iterator abstraction to MachO.h, but this fixes the bug for now. llvm-svn: 179848
* Add back parsing of header charactestics.Rafael Espindola2013-04-041-0/+1
| | | | | | | | It had been dropped during the switch to yaml::IO. Also add a test going from yaml2obj to llvm-readobj. It can be extended as we add more fields/formats to yaml2obj. llvm-svn: 178786
* Implement the "mips endian" for r_info.Rafael Espindola2013-04-031-0/+0
| | | | | | | | Normally r_info is just a 32 of 64 bit number matching the endian of the rest of the file. Unfortunately, mips 64 bit little endian is special: The top 32 bits are a little endian number and the following 32 are a big endian one. llvm-svn: 178694
* [Object][ELF] Fix incorrect size of members for the 64 version of Elf_Phdr_Impl.Michael J. Spencer2013-01-061-0/+0
| | | | llvm-svn: 171650
* [objdump] Add --private-headers, -p.Michael J. Spencer2013-01-061-0/+0
| | | | | | This currently prints the ELF program headers. llvm-svn: 171649
* Teach MachO which sections contain codeTim Northover2012-12-171-0/+0
| | | | llvm-svn: 170349
* Adding changes to support GNU style archive library readingShankar Easwaran2012-11-133-0/+0
| | | | llvm-svn: 167853
* Add missing file for test.Nick Lewycky2012-09-051-0/+0
| | | | llvm-svn: 163272
* Moved input for objdump test from Mips to Inputs.Jack Carter2012-08-291-0/+0
| | | | llvm-svn: 162808
* Move test yaml files under Inputs until they are converted to be the actualMatt Beaumont-Gay2012-08-022-0/+166
| | | | | | test files. llvm-svn: 161219
* Add yaml2obj. A utility to convert YAML to binaries.Michael J. Spencer2012-08-021-0/+0
| | | | | | | | yaml2obj takes a textual description of an object file in YAML format and outputs the binary equivalent. This greatly simplifies writing tests that take binary object files as input. llvm-svn: 161205
* Add relocation types for Hexagon processor; patch by Sidney Manning ↵Marshall Clow2012-06-231-0/+0
| | | | | | <sidneym@codeaurora.org> llvm-svn: 159081
* Support reading GNU symbol versions in ELFObjectFileDavid Meyer2012-03-094-0/+41
| | | | | | | | | | * Add enums and structures for GNU version information. * Implement extraction of that information on a per-symbol basis (ELFObjectFile::getSymbolVersion). * Implement a generic interface, GetELFSymbolVersion(), for getting the symbol version from the ObjectFile (hides the templating). * Have llvm-readobj print out the version, when available. * Add a test for the new feature: readobj-elf-versioning.test llvm-svn: 152436
* [Object]David Meyer2012-03-013-2/+4
| | | | | | | | | * Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile. * Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable. * Implement this new interface completely for ELF, leave stubs for COFF and MachO. * Add 'llvm-readobj' tool for dumping ObjectFile information. llvm-svn: 151785
* [Object] Add {begin,end}_dynamic_symbols stubs and implementation for ELF.Michael J. Spencer2012-02-283-0/+31
| | | | | | | | Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. llvm-svn: 151600
* Rename "TestObjectFiles" to "Inputs" (like the pattern for Clang tests)Matt Beaumont-Gay2011-10-318-0/+12
llvm-svn: 143400
OpenPOWER on IntegriCloud