This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] Dump Macho indirect symbols
ClosedPublic

Authored by davide on Sep 2 2015, 11:27 AM.

Details

Summary

This is *probably* the last bit we need. After this lands, it's just a lot of fun converting all the remaining tests to the new format.

Also, example output:

File: <stdin>
Format: Mach-O 32-bit i386
Arch: i386
AddressSize: 32bit
Indirect Symbols {

Number: 6
Symbols [
  Entry {
    Entry Index: 0
    Symbol Index: 0x4
  }
  Entry {
    Entry Index: 1
    Symbol Index: 0x0
  }
  Entry {
    Entry Index: 2
    Symbol Index: 0x1
  }
  Entry {
    Entry Index: 3
    Symbol Index: 0x5
  }
  Entry {
    Entry Index: 4
    Symbol Index: 0x80000000
  }
  Entry {
    Entry Index: 5
    Symbol Index: 0xC0000000
  }
]

}

Diff Detail

Repository
rL LLVM

Event Timeline

davide updated this revision to Diff 33835.Sep 2 2015, 11:27 AM
davide retitled this revision from to [llvm-readobj] Dump Macho indirect symbols.
davide updated this object.
davide added reviewers: grosbach, rafael, echristo.
davide set the repository for this revision to rL LLVM.
davide added a subscriber: llvm-commits.
echristo edited edge metadata.Sep 2 2015, 11:36 AM
echristo added a subscriber: echristo.

LGTM, and thanks again for doing all this.

This revision was automatically updated to reflect the committed changes.