1. 01 May, 2018 1 commit
  2. 27 Apr, 2018 1 commit
  3. 20 Apr, 2018 1 commit
  4. 17 Apr, 2018 2 commits
  5. 26 Mar, 2018 1 commit
  6. 16 Mar, 2018 1 commit
  7. 15 Mar, 2018 1 commit
  8. 09 Mar, 2018 1 commit
    • commit ce28919112dbb234366816ab39ce060ad45e8ca9 · 300e61fa
          Makefile: add internal/trace to noinst_DATA
          
          The internal/trace package is only imported by tests (specifically the
          tests in runtime/trace) so it must be in noinst_DATA to ensure that it
          is built before running the tests.
          
          This was mostly working because internal/trace has tests itself, and
          is listed in check-packages.txt before runtime/trace, so typical
          invocations of make would build internal/trace for checking purposes
          before checking runtime/trace.  But we need this change to make that
          reliable.
          
          Reviewed-on: https://go-review.googlesource.com/99836
      
      From-SVN: r258392
      Ian Lance Taylor committed
  9. 07 Mar, 2018 2 commits
  10. 05 Mar, 2018 1 commit
  11. 28 Feb, 2018 2 commits
  12. 22 Feb, 2018 3 commits
  13. 20 Feb, 2018 1 commit
  14. 16 Feb, 2018 1 commit
  15. 12 Feb, 2018 2 commits
    • compiler: error on func declaration/definition · 52eb4ab4
          
          Long long long ago Go permitted writing
              func F()
          in one file and writing
              func F() {}
          in another file.  This was removed from the language, and that is now
          considered to be a multiple definition error.  Gccgo never caught up
          to that, and it has been permitting this invalid code for some time.
          
          Stop permitting it, so that we give correct errors.  Since we've
          supported it for a long time, the compiler uses it in a couple of
          cases: it predeclares the hash/equal methods if it decides to create
          them while compiling another function, and it predeclares main.main as
          a mechanism for getting the right warning if a program uses the wrong
          signature for main.  For simplicity, keep those existing uses.
          
          This required a few minor changes in libgo which were relying,
          unnecessarily, on the current behavior.
          
          Reviewed-on: https://go-review.googlesource.com/93083
      
      From-SVN: r257600
      Ian Lance Taylor committed
    • re PR go/84215 (Random results in go/libgo tests) · 86ff1853
      	PR go/84215
          runtime, sync/atomic: use write barrier for atomic pointer functions
          
          This copies atomic_pointer.go from 1.10rc2.  It was omitted during the
          transition of the runtime from C to Go, and I forgot about it.
          
          This may help with https://gcc.gnu.org/PR84215.
          
          Reviewed-on: https://go-review.googlesource.com/93197
      
      From-SVN: r257599
      Ian Lance Taylor committed
  16. 08 Feb, 2018 2 commits
  17. 07 Feb, 2018 1 commit
    • runtime: don't call funcPC from a function · f1a2d8b1
          
          The escape analysis support is not yet good enough to avoid escaping
          the argument to funcPC.  This causes unnecessary and often harmful
          memory allocation.  E.g., (*cpuProfile).addExtra can be called from a
          signal handler, and it must not allocate memory.
          
          Move the calls to funcPC to use variables instead.  This was done in
          the original migration to using funcPC, but was not done for newer code.
          
          In one case, in signal handling code, use getSigtramp.
          
          Reviewed-on: https://go-review.googlesource.com/92735
      
      From-SVN: r257463
      Ian Lance Taylor committed
  18. 06 Feb, 2018 1 commit
  19. 05 Feb, 2018 1 commit
  20. 02 Feb, 2018 2 commits
  21. 01 Feb, 2018 3 commits
  22. 31 Jan, 2018 3 commits
  23. 30 Jan, 2018 1 commit
  24. 27 Jan, 2018 2 commits
  25. 25 Jan, 2018 2 commits
  26. 24 Jan, 2018 1 commit
    • compiler: rationalize external symbol names · 4880b994
          
          Encode all external symbol names using only ASCII alphanumeric
          characters, underscore, and dot.  Use a scheme that can be reliably
          demangled to a somewhat readable version as described in the long
          comment in names.cc.
          
          A minor cleanup discovered during this was that we were treating
          function types as different if one had a NULL parameters_ field and
          another has a non-NULL parameters_ field that has no parameters.  This
          worked because we mangled them slightly differently.  We now mangle
          them the same, so we treat them as equal, as we should anyhow.
          
          Reviewed-on: https://go-review.googlesource.com/89555
      
      	* go.go-torture/execute/names-1.go: New test.
      
      From-SVN: r257033
      Ian Lance Taylor committed