aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/debug/dwarf
AgeCommit message (Collapse)Author
2013-11-01[release-branch.go1.2] debug/dwarf: add DWARF 4 form constantsAndrew Gerrand
««« CL 18460043 / 08e6655618f5 debug/dwarf: add DWARF 4 form constants Some versions of clang generate DWARF 4-format attributes even when using -gdwarf-2. We don't care much about the values, but we do need to be able to parse past them. This fixes a bug in Go 1.2 rc2 reported via private mail using a near-tip version of clang. R=golang-dev, iant, dvyukov CC=golang-dev https://golang.org/cl/18460043 »»» R=golang-dev CC=golang-dev https://golang.org/cl/20470045
2013-10-14debug/dwarf: report the value of an unrecognized attribute formatIan Lance Taylor
R=golang-dev, r, minux.ma CC=golang-dev https://golang.org/cl/14669045
2013-10-09debug/dwarf: handle surprising clang encodingRuss Cox
Fixes a bug in cgo on OS X using clang. See golang.org/issue/6472 for details. Fixes #6472. R=golang-dev, iant CC=golang-dev https://golang.org/cl/14575043
2013-03-19debug/dwarf: support for DWARF 3Ian Lance Taylor
R=rsc CC=golang-dev https://golang.org/cl/7662045
2013-02-20debug/dwarf: add flag_present attribute encoding.Robin Eklind
ref: http://www.dwarfstd.org/doc/DWARF4.pdf Update #4829 R=minux.ma, iant CC=dave, golang-dev https://golang.org/cl/7354043
2012-02-19cmd/cgo: bug fixesRuss Cox
* disallow embedding of C type (Fixes issue 2552) * detect 0-length array (Fixes issue 2806) * use typedefs when possible, to avoid attribute((unavailable)) (Fixes issue 2888) * print Go types constructed from C types using original C types (Fixes issue 2612) This fix changes _cgo_export.h to repeat the preamble from import "C". Otherwise the fix to issue 2612 is impossible, since it cannot refer to types that have not been defined. If people are using //export and putting non-header information in the preamble, they will need to refactor their code. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5672080
2012-02-17debug/dwarf: address TODO in doc comment for NewRob Pike
Fixes #2844. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5675072
2012-01-30build: remove Make.pkg, Make.toolRuss Cox
Consequently, remove many package Makefiles, and shorten the few that remain. gomake becomes 'go tool make'. Turn off test phases of run.bash that do not work, flagged with $BROKEN. Future CLs will restore these, but this seemed like a big enough CL already. R=golang-dev, r CC=golang-dev https://golang.org/cl/5601057
2011-12-05use new strconv APIRuss Cox
All but 3 cases (in gcimporter.go and hixie.go) are automatic conversions using gofix. No attempt is made to use the new Append functions even though there are definitely opportunities. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5447069
2011-11-01src/pkg/[a-m]*: gofix -r error -force=errorRuss Cox
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
2011-10-18gofix -r mapdeleteRuss Cox
R=golang-dev, r, adg, r, cw CC=golang-dev https://golang.org/cl/5266045
2011-07-14go/printer: changed max. number of newlines from 3 to 2Robert Griesemer
manual changes in src/pkg/go/printer, src/cmd/gofix/signal_test.go (cd src/cmd/gofix/testdata; gofmt -w *.in *.out) (cd src/pkg/go/printer; gotest -update) gofmt -w misc src runs all tests R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4715041
2011-06-17respect goto restrictionsRuss Cox
R=gri CC=golang-dev https://golang.org/cl/4625044
2011-06-13cgo: handle new Apple LLVM-based gcc from Xcode 4.2Russ Cox
That gcc does not include enumerator names and values in its DWARF debug output. Create a data block from which we can read the values instead. Fixes #1881. R=iant CC=golang-dev https://golang.org/cl/4607045
2011-05-18pkg: spelling tweaks, A-HRobert Hencke
R=ality, bradfitz, rsc, dsymonds, adg, qyzhai, dchest CC=golang-dev https://golang.org/cl/4536063
2011-04-20src/pkg: make package doc comments consistently start with "Package foo".Nigel Tao
R=rsc CC=golang-dev https://golang.org/cl/4442064
2011-01-19cgo: add complex float, complex doubleSebastien Binet
R=rsc CC=binet, golang-dev https://golang.org/cl/3906041
2010-10-27use appendRuss Cox
R=gri, r, r2 CC=golang-dev https://golang.org/cl/2743042
2010-10-26use copyRuss Cox
R=gri CC=golang-dev https://golang.org/cl/2763041
2010-08-18build: no required environment variablesRuss Cox
R=adg, r, PeterGo CC=golang-dev https://golang.org/cl/1942044
2010-06-22debug/dwarf: update PDF link.Rob Pike
Fixes #881. R=iant CC=golang-dev https://golang.org/cl/1696044
2010-03-30simplify various code using new map index ruleRuss Cox
R=r CC=golang-dev https://golang.org/cl/833044
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer
- only manual changes are in src/pkg/go/printer/nodes.go - use a heuristic to determine "outliers" such that not entire composites are forced to align with them - improves several places that were not unligned before due too simple heuristic - unalignes some cases that contain "outliers" - gofmt -w src misc Fixes #644. R=rsc, r CC=golang-dev https://golang.org/cl/241041
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev https://golang.org/cl/223076
2009-12-15 1) Change default gofmt default settings forRobert Griesemer
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 2nd set of files. R=rsc CC=golang-dev https://golang.org/cl/179067
2009-11-23go: makes it build for the case $GOROOT has whitespacesSergio Luis O. B. Correia
the bash scripts and makefiles for building go didn't take into account the fact $GOROOT / $GOBIN could both be directories containing whitespaces, and was not possible to build it in such a situation. this commit adjusts the various makefiles/scripts to make it aware of that possibility, and now it builds successfully when using a path with whitespaces as well. Fixes #115. R=rsc, dsymonds1 https://golang.org/cl/157067
2009-11-20gofmt -r 'α[β:len(α)] -> α[β:]' -w src/cmd src/pkgRuss Cox
R=r, gri CC=golang-dev https://golang.org/cl/156115
2009-11-09 - replaced gofmt expression formatting algorithm withRobert Griesemer
rsc's algorithm - applied gofmt -w misc src - partial CL (remaining files in other CLs) R=rsc, r http://go/go-review/1026036
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer
R=rsc, r http://go/go-review/1025029
2009-11-08bug212, bug213.Russ Cox
R=ken http://go/go-review/1026032
2009-11-06- fine-tuning of one-line func heuristic (nodes.go)Robert Griesemer
- enabled for function declarations (not just function literals) - applied gofmt -w $GOROOT/src (look for instance at src/pkg/debug/elf/elf.go) R=r, rsc CC=go-dev http://go/go-review/1026006
2009-11-05gofmt'ed debugRobert Griesemer
(excluding debug/gosym/symtab.go which has a small issue) R=rsc http://go/go-review/1019001
2009-10-20base64 -> encoding/base64Russ Cox
base85 -> encoding/ascii85, encoding/git85 debug/binary -> encoding/binary R=r DELTA=3190 (1884 added, 1297 deleted, 9 changed) OCL=35923 CL=35929
2009-10-08more lgtm files from gofmtRuss Cox
R=gri OCL=35485 CL=35488
2009-10-06gofmt on crypto, debugRuss Cox
R=gri DELTA=2560 (127 added, 177 deleted, 2256 changed) OCL=35388 CL=35395
2009-09-24add Size method to dwarf.TypeRuss Cox
R=r DELTA=30 (24 added, 3 deleted, 3 changed) OCL=34950 CL=34974
2009-09-18fix build again; this time for sure. sighRuss Cox
TBR=r OCL=34803 CL=34803
2009-09-18fix build - missing fileRuss Cox
TBR=r OCL=34800 CL=34800
2009-09-18add DWARF method to elf.File.Russ Cox
test both ELF and Mach-O in dwarf package. R=r DELTA=83 (44 added, 10 deleted, 29 changed) OCL=34717 CL=34790
2009-09-17unused importsRuss Cox
R=r OCL=34731 CL=34731
2009-09-16parse and present DWARF type informationRuss Cox
R=r DELTA=940 (929 added, 1 deleted, 10 changed) OCL=34679 CL=34686
2009-09-15basic DWARF reading.Russ Cox
R=r DELTA=949 (949 added, 0 deleted, 0 changed) OCL=34676 CL=34678