]> Cypherpunks repositories - gostls13.git/commit
debug/macho: add comments for ambiguious LoadCommand
authorHiroshi Ioka <hirochachacha@gmail.com>
Thu, 17 Aug 2017 00:16:32 +0000 (09:16 +0900)
committerIan Lance Taylor <iant@golang.org>
Thu, 17 Aug 2017 01:12:13 +0000 (01:12 +0000)
commitf52ce42274573d39386f3bacc77ab2ef969d5a0d
tree5048d71c8fc341304d4ad22cffaadec64150d871
parentfcbcc0fd18c922e52bb59eca2437c2bafd1c0141
debug/macho: add comments for ambiguious LoadCommand

While LoadCmdDylib represents LC_LOAD_DYLIB,
LoadCmdDylinker represents LC_ID_DYLINKER.
This is confusing because there is another command called LC_LOAD_DYLINKER.
LC_ID_DYLINKER is not included in normal binary, it is only used for
/usr/lib/dyld as far as I know. So, perhaps this is a mistake.

Change-Id: I6ea61664a26998962742914af5688e094a233541
Reviewed-on: https://go-review.googlesource.com/56330
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/macho.go