1. 03 Dec, 2013 1 commit
  2. 02 Dec, 2013 3 commits
  3. 01 Dec, 2013 1 commit
  4. 27 Nov, 2013 1 commit
  5. 25 Nov, 2013 2 commits
  6. 20 Nov, 2013 2 commits
  7. 19 Nov, 2013 3 commits
  8. 18 Nov, 2013 2 commits
  9. 15 Nov, 2013 1 commit
  10. 14 Nov, 2013 2 commits
  11. 13 Nov, 2013 7 commits
  12. 12 Nov, 2013 2 commits
  13. 11 Nov, 2013 2 commits
  14. 08 Nov, 2013 2 commits
  15. 07 Nov, 2013 1 commit
    • Russ Cox's avatar
      cmd/cgo: fix handling of array of pointers when using clang · 6be1cb8c
      Russ Cox authored
      Clang does not record the "size" field for pointer types,
      so we must insert the size ourselves. We were already
      doing this, but only for the case of pointer types.
      For an array of pointer types, the setting of the size for
      the nested pointer type was happening after the computation
      of the size of the array type, meaning that the array type
      was always computed as 0 bytes. Delay the size computation.
      
      This bug happens on all Clang systems, not just FreeBSD.
      Our test checked that cgo wrote something, not that it was correct.
      FreeBSD's default clang rejects array[0] as a C struct field,
      so it noticed the incorrect sizes. But the sizes were incorrect
      everywhere.
      
      Update testcdefs to check the output has the right semantics.
      
      Fixes #6292.
      
      R=golang-dev, iant
      CC=golang-dev
      https://golang.org/cl/22840043
      6be1cb8c
  16. 06 Nov, 2013 1 commit
  17. 05 Nov, 2013 3 commits
  18. 04 Nov, 2013 2 commits
  19. 01 Nov, 2013 2 commits