Skip to content

what the sigpanic is used for ? #11

Closed
@biased-kit

Description

@biased-kit

Here is the code used in Caller() func:

	c.pc = pcs[1]
	if runtime.FuncForPC(pcs[0]) != sigpanic {
		c.pc--
	}

Could you please explain why the program counter is reduced by one ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions