summaryrefslogtreecommitdiff
path: root/src/cmd/gc/unsafe.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-1/+1
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý1-0/+1
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-4/+16
2010-06-09gc: more cleanupRuss Cox1-1/+1
* disallow surrogate pair runes. * diagnose impossible type assertions * eliminate another static buffer. * do not overflow lexbuf. * add -u flag to disable package unsafe. R=ken2 CC=golang-dev http://codereview.appspot.com/1619042
2010-05-24gc: fix unsafe.Sizeof on ideal constantsRuss Cox1-4/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1280041
2010-01-22eliminate the package global name space assumption in object filesRuss Cox1-1/+1
5g/6g/8g: add import statements to export metadata, mapping package path to package name. recognize "" as the path of the package in export metadata. use "" as the path of the package in object symbol names. 5c/6c/8c, 5a/6a/8a: rewrite leading . to "". so that ·Sin means Sin in this package. 5l/6l/8l: rewrite "" in symbol names as object files are read. gotest: handle new symbol names. gopack: handle new import lines in export metadata. Collectively, these changes eliminate the assumption of a global name space in the object file formats. Higher level pieces such as reflect and the computation of type hashes still depend on the assumption; we're not done yet. R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/186263 Committer: Russ Cox <rsc@golang.org>
2009-12-27gc: various C nits, found by plan 9 compiler.Russ Cox1-1/+0
reported by erik quanstrom. R=ken2 http://codereview.appspot.com/181071
2009-08-04move various bits of code aroundRuss Cox1-0/+87
and delete some dead code. no actual changes here. R=ken OCL=32764 CL=32764