Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withXlogue (0.15 sec)

  1. src/cmd/internal/src/pos_test.go

    		{makeLico(1, 0).withXlogue(PosDefaultLogue), ":1" + defs + defp, 1, 0},
    		{makeLico(1, 0).withXlogue(PosPrologueEnd), ":1" + defs + pro, 1, 0},
    		{makeLico(1, 0).withXlogue(PosEpilogueBegin), ":1" + defs + epi, 1, 0},
    
    		{makeLico(1, 1).withXlogue(PosDefaultLogue), ":1:1" + defs + defp, 1, 1},
    		{makeLico(1, 1).withXlogue(PosPrologueEnd), ":1:1" + defs + pro, 1, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 14 23:50:26 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/internal/src/xpos.go

    		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
    }
    
    // LineNumber returns a string for the line number, "?" if it is not known.
    func (p XPos) LineNumber() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/cmd/internal/src/pos.go

    }
    
    // withIsStmt returns a lico for the same location, tagged as definitely a statement
    func (x lico) withIsStmt() lico {
    	return x.withStmt(PosIsStmt)
    }
    
    // withXlogue attaches a prologue/epilogue attribute to a lico
    func (x lico) withXlogue(xlogue PosXlogue) lico {
    	if x == 0 {
    		if xlogue == 0 {
    			return x
    		}
    		// Normalize 0 to "not a statement"
    		x = lico(PosNotStmt << isStmtShift)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/obj7.go

    				q1.As = AMOVD
    				q1.From.Type = obj.TYPE_REG
    				q1.From.Reg = REGFP
    				q1.To.Type = obj.TYPE_MEM
    				q1.To.Reg = REGSP
    				q1.To.Offset = -8
    			}
    
    			prologueEnd.Pos = prologueEnd.Pos.WithXlogue(src.PosPrologueEnd)
    
    			q1 = obj.Appendp(q1, c.newprog)
    			q1.Pos = p.Pos
    			q1.As = ASUB
    			q1.From.Type = obj.TYPE_CONST
    			q1.From.Offset = 8
    			q1.Reg = REGSP
    			q1.To.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/obj9.go

    					q.From.Offset = int64(-autosize)
    					q.To.Type = obj.TYPE_REG
    					q.To.Reg = REGSP
    					q.Spadj = +autosize
    
    					q = c.ctxt.EndUnsafePoint(q, c.newprog, -1)
    				}
    				prologueEnd.Pos = prologueEnd.Pos.WithXlogue(src.PosPrologueEnd)
    			} else if c.cursym.Func().Text.Mark&LEAF == 0 {
    				// A very few functions that do not return to their caller
    				// (e.g. gogo) are not identified as leaves but still have
    				// no frame.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/obj6.go

    	}
    
    	// Delve debugger would like the next instruction to be noted as the end of the function prologue.
    	// TODO: are there other cases (e.g., wrapper functions) that need marking?
    	if autoffset != 0 {
    		p.Pos = p.Pos.WithXlogue(src.PosPrologueEnd)
    	}
    
    	if cursym.Func().Text.From.Sym.Wrapper() {
    		// if g._panic != nil && g._panic.argp == FP {
    		//   g._panic.argp = bottom-of-frame
    		// }
    		//
    		//	MOVQ g_panic(g), regEntryTmp0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
Back to top