Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(93)

Issue 1124002: Create a new tool to upload Mac system library symbols. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by rsesek
Modified:
10 years, 9 months ago
Reviewers:
andybons, Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Create a new tool to upload Mac system library symbols.

R=andybons@chromium.org, mark@chromium.org

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1278

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 27

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Total comments: 32

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
A src/tools/mac/upload_system_symbols/arch_constants.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A src/tools/mac/upload_system_symbols/arch_reader.go View 1 2 3 4 5 6 1 chunk +268 lines, -0 lines 2 comments Download
A src/tools/mac/upload_system_symbols/arch_reader_test.go View 1 2 3 4 5 1 chunk +82 lines, -0 lines 0 comments Download
A src/tools/mac/upload_system_symbols/testdata/Makefile View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
A src/tools/mac/upload_system_symbols/testdata/archtest.c View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
A src/tools/mac/upload_system_symbols/upload_system_symbols.go View 1 2 3 4 1 chunk +389 lines, -0 lines 0 comments Download

Messages

Total messages: 18
rsesek
Thanks in advance. This is a low-priority review since I've been sitting on this fiel ...
10 years, 9 months ago #1
andybons
initial scan https://breakpad.appspot.com/1124002/diff/1/src/tools/mac/upload_system_symbols/upload_system_symbols.go File src/tools/mac/upload_system_symbols/upload_system_symbols.go (right): https://breakpad.appspot.com/1124002/diff/1/src/tools/mac/upload_system_symbols/upload_system_symbols.go#newcode33 src/tools/mac/upload_system_symbols/upload_system_symbols.go:33: any reason for the newlines between flag ...
10 years, 9 months ago #2
rsesek
Thanks! https://breakpad.appspot.com/1124002/diff/1/src/tools/mac/upload_system_symbols/upload_system_symbols.go File src/tools/mac/upload_system_symbols/upload_system_symbols.go (right): https://breakpad.appspot.com/1124002/diff/1/src/tools/mac/upload_system_symbols/upload_system_symbols.go#newcode33 src/tools/mac/upload_system_symbols/upload_system_symbols.go:33: On 2014/01/31 02:24:24, andybons wrote: > any reason ...
10 years, 9 months ago #3
Mark Mentovai
https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go File src/tools/mac/upload_system_symbols/upload_system_symbols.go (right): https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go#newcode1 src/tools/mac/upload_system_symbols/upload_system_symbols.go:1: /* ©? https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go#newcode33 src/tools/mac/upload_system_symbols/upload_system_symbols.go:33: breakpadTools = flag.String("breakpad-tools", "./out/Release/", "Path ...
10 years, 9 months ago #4
rsesek
https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go File src/tools/mac/upload_system_symbols/upload_system_symbols.go (right): https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go#newcode1 src/tools/mac/upload_system_symbols/upload_system_symbols.go:1: /* On 2014/01/31 16:55:44, Mark Mentovai wrote: > ©? ...
10 years, 9 months ago #5
Mark Mentovai
Where’s the test? :) https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go File src/tools/mac/upload_system_symbols/upload_system_symbols.go (right): https://breakpad.appspot.com/1124002/diff/30001/src/tools/mac/upload_system_symbols/upload_system_symbols.go#newcode174 src/tools/mac/upload_system_symbols/upload_system_symbols.go:174: log.Printf("Error running symupload(%s, %s), attempt ...
10 years, 9 months ago #6
rsesek
Okay, I got sick of dealing with file(1)'s stupid output, so now this reads the ...
10 years, 9 months ago #7
andybons
https://breakpad.appspot.com/1124002/diff/60003/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/60003/src/tools/mac/upload_system_symbols/arch_reader.go#newcode57 src/tools/mac/upload_system_symbols/arch_reader.go:57: Arch_i386 = "i386" mixing underscores with camelCase? bleh https://breakpad.appspot.com/1124002/diff/60003/src/tools/mac/upload_system_symbols/arch_reader.go#newcode78 ...
10 years, 9 months ago #8
rsesek
https://breakpad.appspot.com/1124002/diff/60003/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/60003/src/tools/mac/upload_system_symbols/arch_reader.go#newcode57 src/tools/mac/upload_system_symbols/arch_reader.go:57: Arch_i386 = "i386" On 2014/02/01 04:37:05, andybons wrote: > ...
10 years, 9 months ago #9
andybons
lgtm Pending a final pass from Markus. https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go#newcode58 src/tools/mac/upload_system_symbols/arch_reader.go:58: ArchX86_64 = ...
10 years, 9 months ago #10
Mark Mentovai
https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go#newcode76 src/tools/mac/upload_system_symbols/arch_reader.go:76: // images in the file (will be more than ...
10 years, 9 months ago #11
Mark Mentovai
https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader_test.go File src/tools/mac/upload_system_symbols/arch_reader_test.go (right): https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader_test.go#newcode70 src/tools/mac/upload_system_symbols/arch_reader_test.go:70: expected[ii.Arch] = true You should make sure that ii.Arch ...
10 years, 9 months ago #12
rsesek
https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go#newcode76 src/tools/mac/upload_system_symbols/arch_reader.go:76: // images in the file (will be more than ...
10 years, 9 months ago #13
Mark Mentovai
LGTM https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go#newcode125 src/tools/mac/upload_system_symbols/arch_reader.go:125: func readThin64Header(f *os.File) ([]ImageInfo, error) { rsesek wrote: ...
10 years, 9 months ago #14
rsesek
Thanks all! https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/110002/src/tools/mac/upload_system_symbols/arch_reader.go#newcode125 src/tools/mac/upload_system_symbols/arch_reader.go:125: func readThin64Header(f *os.File) ([]ImageInfo, error) { On ...
10 years, 9 months ago #15
Mark Mentovai
LGTM https://breakpad.appspot.com/1124002/diff/230001/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/230001/src/tools/mac/upload_system_symbols/arch_reader.go#newcode119 src/tools/mac/upload_system_symbols/arch_reader.go:119: panic(fmt.Sprintf("Unexpected magic %d", magic)) hex me
10 years, 9 months ago #16
rsesek
https://breakpad.appspot.com/1124002/diff/230001/src/tools/mac/upload_system_symbols/arch_reader.go File src/tools/mac/upload_system_symbols/arch_reader.go (right): https://breakpad.appspot.com/1124002/diff/230001/src/tools/mac/upload_system_symbols/arch_reader.go#newcode119 src/tools/mac/upload_system_symbols/arch_reader.go:119: panic(fmt.Sprintf("Unexpected magic %d", magic)) On 2014/02/03 22:48:29, Mark Mentovai ...
10 years, 9 months ago #17
rsesek
10 years, 9 months ago #18
Message was sent while issue was closed.
Committed patchset #7 manually as r1278 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted