diff options
author | Russ Cox <rsc@golang.org> | 2013-12-18 19:00:52 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-12-18 19:00:52 -0500 |
commit | 2980aae9cc87cf29b17a142869d2b2f6df9317f7 (patch) | |
tree | 4e2e4988ac97cbf5fb1d8acbad223547fd874889 /src/cmd/ld/lib.c | |
parent | bc595bdad85982f528d79095d429b615a396be12 (diff) | |
download | go-2980aae9cc87cf29b17a142869d2b2f6df9317f7.tar.gz |
debug/goobj: expand package prefix correctly
R=r, bradfitz
CC=golang-dev
https://codereview.appspot.com/43480049
Diffstat (limited to 'src/cmd/ld/lib.c')
-rw-r--r-- | src/cmd/ld/lib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/ld/lib.c b/src/cmd/ld/lib.c index f4ac30a57..138a91787 100644 --- a/src/cmd/ld/lib.c +++ b/src/cmd/ld/lib.c @@ -851,7 +851,8 @@ unmal(void *v, uint32 n) * Invalid bytes turn into %xx. Right now the only bytes that need * escaping are %, ., and ", but we escape all control characters too. * - * Must be same as ../gc/subr.c:/^pathtoprefix. + * If you edit this, edit ../gc/subr.c:/^pathtoprefix too. + * If you edit this, edit ../../pkg/debug/goobj/read.go:/importPathToPrefix too. */ static char* pathtoprefix(char *s) |