1. 06 Aug, 2014 1 commit
    • Ian Lance Taylor's avatar
      cmd/cgo: for -godefs, promote first field of anonymous union · f2f17c0f
      Ian Lance Taylor authored
      Update #6677
      
      When a struct contains an anonymous union, use the type and
      name of the first field in the union.
      
      This should make the glibc <sys/resource.h> file work; in that
      file struct rusage has fields like
      
      __extension__ union
      {
              long int ru_maxrss;
              __syscall_slong_t __ru_maxrss_word;
      };
      
      in which the field that matters is ru_maxrss and
      __ru_maxrss_word just exists to advance to the next field on
      systems where the kernel uses long long fields but userspace
      expects long fields.
      
      LGTM=mikioh.mikioh
      R=golang-codereviews, mikioh.mikioh
      CC=golang-codereviews
      https://golang.org/cl/106260044
      f2f17c0f
  2. 05 Aug, 2014 16 commits
  3. 04 Aug, 2014 2 commits
  4. 03 Aug, 2014 1 commit
  5. 02 Aug, 2014 1 commit
  6. 01 Aug, 2014 5 commits
  7. 31 Jul, 2014 12 commits
  8. 30 Jul, 2014 2 commits
    • Keith Randall's avatar
      runtime: fix stack memory test · 1329d044
      Keith Randall authored
      Stand-alone this test is fine.  Run together with
      others, however, the stack used can actually go
      negative because other tests are freeing stack
      during its execution.
      
      This behavior is new with the new stack allocator.
      The old allocator never returned (min-sized) stacks.
      
      This test is fairly poor - it needs to run in
      isolation to be accurate.  Maybe we should delete it.
      
      LGTM=r
      R=r
      CC=golang-codereviews
      https://golang.org/cl/119330044
      1329d044
    • Rob Pike's avatar
      runtime: fix assembler macro definitions to be consistent in use of center-dot · aff7883d
      Rob Pike authored
      The DISPATCH and CALLFN macro definitions depend on an inconsistency
      between the internal cpp mini-implementation and the language proper in
      whether center-dot is an identifier character. The macro depends on it not
      being an identifier character, but the resulting code depends on it being one.
      
      Remove the dependence on the inconsistency by placing the center-dot into
      the macro invocation rather that the body.
      
      No semantic change. This is just renaming macro arguments.
      
      LGTM=bradfitz
      R=golang-codereviews, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/119320043
      aff7883d