- Jul 12, 2013
-
-
Rafael Espindola authored
llvm-svn: 186202
-
Rafael Espindola authored
llvm-svn: 186192
-
Rafael Espindola authored
llvm-svn: 186159
-
- Jul 10, 2013
-
-
Rafael Espindola authored
There is no lib/Archive anymore and some archive tests were in test/Archive and others in test/Object. Since archive is just one of the formats supported by lib/Object, test/Object is probably the best location. llvm-svn: 186038
-
- Jul 04, 2013
-
-
Rafael Espindola authored
llvm-svn: 185664
-
- Jul 03, 2013
-
-
Rafael Espindola authored
While there, use early returns to reduce nesting. llvm-svn: 185547
-
- Jun 18, 2013
-
-
Alexey Samsonov authored
llvm-svn: 184191
-
- Jun 12, 2013
-
-
Sean Silva authored
This test case was a "sanity check"/"breathing" test case at first, but is really fragile, which impairs changes to yaml2obj. `test/Object/yaml2obj-elf-bits-endian.test` is much more robust and serves as an adequate sanity check. llvm-svn: 183811
-
- Jun 11, 2013
-
-
Sean Silva authored
Should bring bots back to life. llvm-svn: 183715
-
Sean Silva authored
Currently, only emitting the ELF header is supported (no sections or segments). The ELFYAML code organization is broadly similar to the COFFYAML code. llvm-svn: 183711
-
- Jun 06, 2013
-
-
Kevin Enderby authored
from the LC_DATA_IN_CODE load command. And when disassembling print the data in code formatted for the kind of data it and not disassemble those bytes. I added the format specific functionality to the derived class MachOObjectFile since these tables only appears in Mach-O object files. This is my first attempt to modify the libObject stuff so if folks have better suggestions how to fit this in or suggestions on the implementation please let me know. rdar://11791371 llvm-svn: 183424
-
Rafael Espindola authored
llvm-svn: 183403
-
- Jun 05, 2013
-
-
Rafael Espindola authored
In ELF (as in MachO), not all relocations point to symbols. Represent this properly by using a symbol_iterator instead of a SymbolRef. Update llvm-readobj ELF's dumper to handle relocatios without symbols. llvm-svn: 183284
-
- Jun 03, 2013
-
-
Rui Ueyama authored
llvm-svn: 183091
-
- May 06, 2013
-
-
Rafael Espindola authored
The alignment is just a byte in the middle of Characteristics, not an independent flag. Making it an independent field in the yaml representation makes it more yamlio friendly. llvm-svn: 181243
-
- May 04, 2013
-
-
Amara Emerson authored
llvm-svn: 181079
-
- May 03, 2013
-
-
Amara Emerson authored
Build attribute sections can now be read if they exist via ELFObjectFile, and the llvm-readobj tool has been extended with an option to dump this information if requested. Regression tests are also included which exercise these features. Also update the docs with a fixed ARM ABI link and a new link to the Addenda which provides the build attributes specification. llvm-svn: 181009
-
- Apr 25, 2013
-
-
Rafael Espindola authored
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
-
- Apr 23, 2013
-
-
Rafael Espindola authored
llvm-svn: 180137
-
- Apr 19, 2013
-
-
Rafael Espindola authored
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
-
- Apr 04, 2013
-
-
Rafael Espindola authored
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
-
- Apr 03, 2013
-
-
Rafael Espindola authored
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
-
- Jan 06, 2013
-
-
Michael J. Spencer authored
llvm-svn: 171650
-
Michael J. Spencer authored
This currently prints the ELF program headers. llvm-svn: 171649
-
- Dec 17, 2012
-
-
Tim Northover authored
llvm-svn: 170349
-
- Nov 13, 2012
-
-
Shankar Easwaran authored
llvm-svn: 167853
-
- Sep 06, 2012
-
-
Nick Lewycky authored
llvm-svn: 163272
-
- Aug 29, 2012
-
-
Jack Carter authored
llvm-svn: 162808
-
- Aug 02, 2012
-
-
Matt Beaumont-Gay authored
test files. llvm-svn: 161219
-
Michael J. Spencer authored
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
-
- Jun 23, 2012
-
-
Marshall Clow authored
llvm-svn: 159081
-
- Mar 09, 2012
-
-
David Meyer authored
* 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
-
- Mar 01, 2012
-
-
David Meyer authored
* 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
-
- Feb 28, 2012
-
-
Michael J. Spencer authored
Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. llvm-svn: 151600
-
- Nov 01, 2011
-
-
Matt Beaumont-Gay authored
llvm-svn: 143400
-