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

Issue 72280043: code review 72280043: cmd/gc: replace '·' as '.' in ELF/Mach-O symbol tables (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by minux1
Modified:
11 years, 3 months ago
Reviewers:
aram, rsc
CC:
aram, rsc, gobot, iant, golang-codereviews
Visibility:
Public.

Description

cmd/gc: replace '·' as '.' in ELF/Mach-O symbol tables Old versions of DTrace (as those shipped in OS X and FreeBSD) don't support unicode characters in symbol names. Replace '·' to '.' to make DTrace happy. Fixes issue 7493

Patch Set 1 #

Patch Set 2 : diff -r a1be985c861e https://code.google.com/p/go #

Patch Set 3 : diff -r 464e72469fe8 https://code.google.com/p/go #

Patch Set 4 : diff -r 464e72469fe8 https://code.google.com/p/go #

Patch Set 5 : diff -r 72b4b258b09b https://code.google.com/p/go #

Patch Set 6 : diff -r 72b4b258b09b https://code.google.com/p/go #

Total comments: 1

Patch Set 7 : diff -r 72b4b258b09b https://code.google.com/p/go #

Patch Set 8 : diff -r 72b4b258b09b https://code.google.com/p/go #

Patch Set 9 : diff -r 72b4b258b09b https://code.google.com/p/go #

Patch Set 10 : diff -r b6b69b97b4b7 https://code.google.com/p/go #

Patch Set 11 : diff -r b6b69b97b4b7 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M src/cmd/ld/macho.c View 1 2 3 4 5 6 7 2 chunks +16 lines, -1 line 0 comments Download
M src/cmd/ld/symtab.c View 1 2 3 4 5 6 7 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 13
aram
Latest version is not good because it only handles ELF, which already works pretty well ...
11 years, 3 months ago (2014-03-07 14:01:46 UTC) #1
aram
> Do you want me to test the first version? Nope, first version doesn't work: ...
11 years, 3 months ago (2014-03-07 14:10:31 UTC) #2
minux1
Aram, how about the latest patch set 6? i also replace the middle dot in ...
11 years, 3 months ago (2014-03-07 16:16:34 UTC) #3
aram
Same problem: iridium:src$ sudo dtrace -n 'pid$target:a.out::entry' -c `which go` [CoreSymbolication] In DWARF data from ...
11 years, 3 months ago (2014-03-07 16:26:44 UTC) #4
aram
Ah, no, sorry for the false alarm. I was running the wrong binary. This works ...
11 years, 3 months ago (2014-03-07 16:34:41 UTC) #5
aram
Ok, so patch set 2 doesn't work on either ELF of Mach-O: failed to create ...
11 years, 3 months ago (2014-03-07 17:04:33 UTC) #6
aram
LGTM Please change description to: cmd/gc: rename replace '·' with '.' in ELF/Mach-O symbol tables. ...
11 years, 3 months ago (2014-03-07 17:04:54 UTC) #7
aram
cmd/gc: rename replace '·' to '.' in ELF/Mach-O symbol tables. Old versions of DTrace (as ...
11 years, 3 months ago (2014-03-07 17:05:38 UTC) #8
minux1
Hello aram@mgk.ro (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 3 months ago (2014-03-07 17:23:12 UTC) #9
gobot
R=rsc@golang.org (assigned by aram@mgk.ro)
11 years, 3 months ago (2014-03-07 21:09:49 UTC) #10
aram
[+iant, rsc] LGTM, leaving for rsc.
11 years, 3 months ago (2014-03-07 21:10:34 UTC) #11
rsc
LGTM
11 years, 3 months ago (2014-03-13 02:20:38 UTC) #12
minux1
11 years, 3 months ago (2014-03-14 14:07:55 UTC) #13
*** Submitted as https://code.google.com/p/go/source/detail?r=c837a5edfd42 ***

cmd/gc: replace '·' as '.' in ELF/Mach-O symbol tables

Old versions of DTrace (as those shipped in OS X and FreeBSD)
don't support unicode characters in symbol names.  Replace '·'
to '.' to make DTrace happy.

Fixes issue 7493

LGTM=aram, rsc
R=aram, rsc, gobot, iant
CC=golang-codereviews
https://codereview.appspot.com/72280043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b