()
| 531 | } |
| 532 | |
| 533 | func getSignature() *Signature { |
| 534 | return &Signature{ |
| 535 | State: "chan receive", |
| 536 | Stack: Stack{ |
| 537 | Calls: []Call{ |
| 538 | { |
| 539 | Func: newFunc("main.func·001"), |
| 540 | Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}}, |
| 541 | RemoteSrcPath: "/gopath/src/github.com/maruel/panicparse/stack/stack.go", |
| 542 | Line: 72, |
| 543 | }, |
| 544 | { |
| 545 | Func: newFunc("sliceInternal"), |
| 546 | Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}}, |
| 547 | RemoteSrcPath: "/golang/src/sort/slices.go", |
| 548 | Line: 72, |
| 549 | Location: Stdlib, |
| 550 | }, |
| 551 | { |
| 552 | Func: newFunc("Slice"), |
| 553 | Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}}, |
| 554 | RemoteSrcPath: "/golang/src/sort/slices.go", |
| 555 | Line: 72, |
| 556 | Location: Stdlib, |
| 557 | }, |
| 558 | { |
| 559 | Func: newFunc("DoStuff"), |
| 560 | Args: Args{Values: []Arg{{Value: 0x11000000}, {Value: 2}}}, |
| 561 | RemoteSrcPath: "/gopath/src/foo/bar.go", |
| 562 | Line: 72, |
| 563 | }, |
| 564 | { |
| 565 | Func: newFunc("doStuffInternal"), |
| 566 | Args: Args{ |
| 567 | Values: []Arg{{Value: 0x11000000}, {Value: 2}}, |
| 568 | Elided: true, |
| 569 | }, |
| 570 | RemoteSrcPath: "/gopath/src/foo/bar.go", |
| 571 | Line: 72, |
| 572 | }, |
| 573 | }, |
| 574 | }, |
| 575 | } |
| 576 | } |
| 577 | |
| 578 | // TestMain manages a temporary directory to build on first use ../cmd/panic |
| 579 | // and clean up at the end. |
no test coverage detected
searching dependent graphs…