aboutsummaryrefslogtreecommitdiff
path: root/src/tools/mac/upload_system_symbols/arch_reader.go
diff options
context:
space:
mode:
authorRobert Sesek <rsesek@chromium.org>2017-03-29 19:32:17 -0400
committerRobert Sesek <rsesek@chromium.org>2017-03-30 03:31:20 +0000
commitaa7115cfdef1c4641830cee5621d2c919dc417b8 (patch)
tree2f440fd040178ba2388b2e64536837754b6ecb1d /src/tools/mac/upload_system_symbols/arch_reader.go
parentTreat the process stack as the top of memory for free space histograms. (diff)
downloadbreakpad-aa7115cfdef1c4641830cee5621d2c919dc417b8.tar.xz
Dump MH_DYLINKER images in upload_system_symbols.
Change-Id: I18291efe211f88ae0607a9055d027b520ef13291 Reviewed-on: https://chromium-review.googlesource.com/462676 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/tools/mac/upload_system_symbols/arch_reader.go')
-rw-r--r--src/tools/mac/upload_system_symbols/arch_reader.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/mac/upload_system_symbols/arch_reader.go b/src/tools/mac/upload_system_symbols/arch_reader.go
index f6064823..0e286dad 100644
--- a/src/tools/mac/upload_system_symbols/arch_reader.go
+++ b/src/tools/mac/upload_system_symbols/arch_reader.go
@@ -59,7 +59,8 @@ func getArchStringFromHeader(header macho.FileHeader) string {
}
const (
- MachODylib macho.Type = C.kMachHeaderFtypeDylib
- MachOBundle = C.kMachHeaderFtypeBundle
- MachOExe = C.kMachHeaderFtypeExe
+ MachODylib macho.Type = C.kMachHeaderFtypeDylib
+ MachOBundle = C.kMachHeaderFtypeBundle
+ MachOExe = C.kMachHeaderFtypeExe
+ MachODylinker = C.kMachHeaderFtypeDylinker
)