mirror of
https://github.com/golang/go
synced 2024-11-18 16:14:46 -07:00
fix handling of line numbers for first function
R=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=28949 CL=28951
This commit is contained in:
parent
c54699c977
commit
a343e5ceb1
@ -250,8 +250,9 @@ splitpcln(void)
|
||||
|
||||
f = func;
|
||||
ef = func + nfunc;
|
||||
f->pcln.array = p;
|
||||
pc = func[0].entry; // text base
|
||||
f->pcln.array = p;
|
||||
f->pc0 = pc - PcQuant;
|
||||
line = 0;
|
||||
for(; p < ep; p++) {
|
||||
if(f < ef && pc >= (f+1)->entry) {
|
||||
|
Loading…
Reference in New Issue
Block a user