diff options
| author | Russ Cox <rsc@golang.org> | 2014-05-14 19:51:15 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-05-14 19:51:15 -0400 |
| commit | 79fb16d32c20f14809a924e28d0ab18e1052647d (patch) | |
| tree | 2ab06a848bfa4f9b1023c67404fd1b51eea489de /src/cmd/objdump/testdata | |
| parent | e7ad1ebeac01ebfbc36b9848b05aa45712b3e2a2 (diff) | |
| download | go-79fb16d32c20f14809a924e28d0ab18e1052647d.tar.xz | |
objdump: implement disassembly
There is some duplication here with cmd/nm.
There is a TODO to address that after 1.3 is out.
Update #7452
x86 disassembly works and is tested.
The arm disassembler does not exist yet
and is therefore not yet hooked up.
LGTM=crawshaw, iant
R=crawshaw, iant
CC=golang-codereviews
https://golang.org/cl/91360046
Diffstat (limited to 'src/cmd/objdump/testdata')
| -rw-r--r-- | src/cmd/objdump/testdata/fmthello.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/objdump/testdata/fmthello.go b/src/cmd/objdump/testdata/fmthello.go new file mode 100644 index 0000000000..635db7ae6c --- /dev/null +++ b/src/cmd/objdump/testdata/fmthello.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("hello, world") +} |
