MCPcopy Create free account
hub / github.com/google/pprof / TestDisasmIntelSyntax

Function TestDisasmIntelSyntax

internal/binutils/binutils_test.go:315–320  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

313}
314
315func TestDisasmIntelSyntax(t *testing.T) {
316 if (runtime.GOOS != "linux" && runtime.GOOS != "darwin" && runtime.GOOS != "windows") || runtime.GOARCH != "amd64" {
317 t.Skip("This test only works on x86_64 Linux, macOS or Windows as it tests Intel asm syntax")
318 }
319 testDisasm(t, true)
320}
321
322func findSymbol(syms []*plugin.Sym, name string) *plugin.Sym {
323 for _, s := range syms {

Callers

nothing calls this directly

Calls 1

testDisasmFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…