- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for makeBogusLico (0.3 sec)
-
src/cmd/internal/src/xpos.go
// alternative behavior is to hang. func (p XPos) WithBogusLine() XPos { if p.index == 0 { // See #35652 panic("Assigning a bogus line to XPos with no file will cause mysterious downstream failures.") } p.lico = makeBogusLico() return p } // WithXlogue returns the same location but marked with DWARF function prologue/epilogue func (p XPos) WithXlogue(x PosXlogue) XPos { p.lico = p.lico.withXlogue(x) return p }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/internal/src/pos.go
return lico(line<<lineShift | col<<colShift) } // This is a not-position that will not be elided. // Depending on the debugger (gdb or delve) it may or may not be displayed. func makeBogusLico() lico { return makeLicoRaw(bogusLine, 0).withIsStmt() } func makeLico(line, col uint) lico { if line >= lineMax { // cannot represent line, use max. line so we have some information line = lineMax
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 15.5K bytes - Viewed (0)