Home | History | Annotate | Download | only in runtime

Lines Matching full:datap

96 	for datap := &firstmoduledata; datap != nil; datap = datap.next {
97 moduledataverify1(datap)
103 func moduledataverify1(datap *moduledata) {
107 pcln := *(**[8]byte)(unsafe.Pointer(&datap.pclntable))
108 pcln32 := *(**[2]uint32)(unsafe.Pointer(&datap.pclntable))
115 nftab := len(datap.ftab) - 1
118 if datap.ftab[i].entry > datap.ftab[i+1].entry {
119 f1 := (*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[i].funcoff]))
120 f2 := (*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[i+1].funcoff]))
125 println("function symbol table not sorted by program counter:", hex(datap.ftab[i].entry), funcname(f1), ">", hex(datap.ftab[i+1].entry), f2name)
127 print("\t", hex(datap.ftab[j].entry), " ", funcname((*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[j].funcoff]))), "\n")
140 f := (*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[i].funcoff]))
143 f2 := (*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[i+1].funcoff]))
157 if datap.minpc != datap.ftab[0].entry ||
158 datap.maxpc != datap.ftab[nftab].entry {
162 for _, modulehash := range datap.modulehashes {
164 println("abi mismatch detected between", datap.modulename, "and", modulehash.modulename)
198 for datap := &firstmoduledata; datap != nil; datap = datap.next {
199 if datap.minpc <= pc && pc <= datap.maxpc {
200 return datap
207 datap := findmoduledatap(pc)
208 if datap == nil {
213 x := pc - datap.minpc
217 ffb := (*findfuncbucket)(add(unsafe.Pointer(datap.findfunctab), b*unsafe.Sizeof(findfuncbucket{})))
219 if pc < datap.ftab[idx].entry {
224 for datap.ftab[idx+1].entry <= pc {
227 return (*_func)(unsafe.Pointer(&datap.pclntable[datap.ftab[idx].funcoff]))
234 datap := findmoduledatap(f.entry) // inefficient
235 if datap == nil {
242 p := datap.pclntable[off:]
264 p = datap.pclntable[off:]
284 datap := findmoduledatap(f.entry) // inefficient
285 if datap == nil {
288 return (*byte)(unsafe.Pointer(&datap.pclntable[f.nameoff]))
296 datap := findmoduledatap(f.entry) // inefficient
297 if datap == nil {
302 if fileno == -1 || line == -1 || fileno >= len(datap.filetab) {
306 file = gostringnocopy(&datap.pclntable[datap.filetab[fileno]])