]> Cypherpunks repositories - gostls13.git/commit
debug/macho: rearrange code
authorHiroshi Ioka <hirochachacha@gmail.com>
Wed, 16 Aug 2017 11:50:26 +0000 (20:50 +0900)
committerIan Lance Taylor <iant@golang.org>
Wed, 16 Aug 2017 22:22:19 +0000 (22:22 +0000)
commit78984d3954a60f446d04c796f9c22e073f07cbd3
tree12f4f2c662a9f95a6da81c6471bbe0872a36f794
parent3ce05d2d8d6dbdbec527a9aa49085558bbe05ec0
debug/macho: rearrange code

* group load command structs.
* use hex literal for LoadCommand.
  Decimal number is not a proper representation for some commands.
  (e.g. LC_RPATH = 0x8000001c)
* move Symbol struct from macho.go to file.go.
  Symbol is a high level representation, not in Mach-O.

Change-Id: I3c69923cb464fb1211f2e766c02e1b537e0b5de2
Reviewed-on: https://go-review.googlesource.com/56130
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/debug/macho/file.go
src/debug/macho/macho.go