(_ string, _ plugin.MappingSources, p *profile.Profile)
| 439 | type testSymbolizeDemangler struct{} |
| 440 | |
| 441 | func (testSymbolizeDemangler) Symbolize(_ string, _ plugin.MappingSources, p *profile.Profile) error { |
| 442 | for _, fn := range p.Function { |
| 443 | if fn.Name == "" || fn.SystemName == fn.Name { |
| 444 | fn.Name = fakeDemangler(fn.SystemName) |
| 445 | } |
| 446 | } |
| 447 | return nil |
| 448 | } |
| 449 | |
| 450 | func testFetchSymbols(source, post string) ([]byte, error) { |
| 451 | var buf bytes.Buffer |
nothing calls this directly
no test coverage detected