<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/tools/llvm-readobj/Inputs, branch master</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/tools/llvm-readobj/Inputs?h=master</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/tools/llvm-readobj/Inputs?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-04-18T18:08:55Z</updated>
<entry>
<title>At Jim Grosbach's request detemplate Object/MachO.h.</title>
<updated>2013-04-18T18:08:55Z</updated>
<author>
<name>Rafael Espindola</name>
<email>rafael.espindola@gmail.com</email>
</author>
<published>2013-04-18T18:08:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=fd7aa38e304a09fa0ef51b85b773b649b7e58c5e'/>
<id>urn:sha1:fd7aa38e304a09fa0ef51b85b773b649b7e58c5e</id>
<content type='text'>
We are still able to handle mixed endian objects by swapping one struct at a
time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179778 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Finish templating MachObjectFile over endianness.</title>
<updated>2013-04-13T01:45:40Z</updated>
<author>
<name>Rafael Espindola</name>
<email>rafael.espindola@gmail.com</email>
</author>
<published>2013-04-13T01:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=da2a2372c6ae715befae7f086afe769dd80814f3'/>
<id>urn:sha1:da2a2372c6ae715befae7f086afe769dd80814f3</id>
<content type='text'>
We are now able to handle big endian macho files in llvm-readobject. Thanks to
David Fang for providing the object files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179440 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add extensive relocation tests for llvm-readobj</title>
<updated>2013-04-12T04:02:23Z</updated>
<author>
<name>Nico Rieck</name>
<email>nico.rieck@gmail.com</email>
</author>
<published>2013-04-12T04:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=8ed205f0a35337089407a57cc8e01de59bc4e26b'/>
<id>urn:sha1:8ed205f0a35337089407a57cc8e01de59bc4e26b</id>
<content type='text'>
This test ensures that relocation type names returned by libObject match
the raw relocation type value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179360 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Implements low-level object file format specific output for COFF and</title>
<updated>2013-04-03T18:31:38Z</updated>
<author>
<name>Eric Christopher</name>
<email>echristo@gmail.com</email>
</author>
<published>2013-04-03T18:31:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=76e70f340c09ba759ad96d8dfe416b64f24bc287'/>
<id>urn:sha1:76e70f340c09ba759ad96d8dfe416b64f24bc287</id>
<content type='text'>
ELF with support for:

- File headers
- Section headers + data
- Relocations
- Symbols
- Unwind data (only COFF/Win64)

The output format follows a few rules:
- Values are almost always output one per line (as elf-dump/coff-dump already do). - Many values are translated to something readable (like enum names), with the raw value in parentheses.
- Hex numbers are output in uppercase, prefixed with "0x".
- Flags are sorted alphabetically.
- Lists and groups are always delimited.

Example output:
---------- snip ----------
Sections [
  Section {
    Index: 1
    Name: .text (5)
    Type: SHT_PROGBITS (0x1)
    Flags [ (0x6)
      SHF_ALLOC (0x2)
      SHF_EXECINSTR (0x4)
    ]
    Address: 0x0
    Offset: 0x40
    Size: 33
    Link: 0
    Info: 0
    AddressAlignment: 16
    EntrySize: 0
    Relocations [
      0x6 R_386_32 .rodata.str1.1 0x0
      0xB R_386_PC32 puts 0x0
      0x12 R_386_32 .rodata.str1.1 0x0
      0x17 R_386_PC32 puts 0x0
    ]
    SectionData (
      0000: 83EC04C7 04240000 0000E8FC FFFFFFC7  |.....$..........|
      0010: 04240600 0000E8FC FFFFFF31 C083C404  |.$.........1....|
      0020: C3                                   |.|
    )
  }
]
---------- snip ----------

Relocations and symbols can be output standalone or together with the section header as displayed in the example.
This feature set supports all tests in test/MC/COFF and test/MC/ELF (and I suspect all additional tests using elf-dump), making elf-dump and coff-dump deprecated.

Patch by Nico Rieck!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178679 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
