1. 17 Sep, 2016 1 commit
  2. 16 Sep, 2016 32 commits
  3. 15 Sep, 2016 7 commits
    • Alberto Bertogli's avatar
      net: document dummy byte in ReadMsgUnix and WriteMsgUnix · e727e370
      Alberto Bertogli authored
      ReadMsgUnix and WriteMsgUnix both will read/write 1 byte from/to the
      socket if they were given no buffer to read/write, to avoid a common
      pitfall in out of band operations (they will usually block
      indefinitely if there's no actual data to read).
      
      This patch adds a note about this behaviour in their documentation, so
      users can be aware of it.
      
      Change-Id: I751f0e12bb4d80311e94ea8de023595c5d40ec3e
      Reviewed-on: https://go-review.googlesource.com/29180
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      e727e370
    • David Chase's avatar
      cmd/compile: adapt GOSSAHASH to set a DebugTest flag in ssa.Config · 897c0ebf
      David Chase authored
      Binary search remains our friend.
      Suppose you add an ought-to-be-benign pattern to PPC64.rules,
      and make.bash starts crashing.  You can guard the pattern(s)
      with config.DebugTest:
      
      (Eq8 x y) && config.DebugTest && isSigned(x.Type) &&
         isSigned(y.Type) ->
         (Equal (CMPW (SignExt8to32 x) (SignExt8to32 y)))
      
      and then
      
        gossahash -s ./make.bash
        ...
        (go drink beer while silicon minions toil)
        ...
        Trying ./make.bash args=[], env=[GOSSAHASH=100110010111110]
        ./make.bash failed (1 distinct triggers): exit status 1
        Trigger string is 'GOSSAHASH triggered (*importReader).readByte',
          repeated 1 times
        Review GSHS_LAST_FAIL.0.log for failing run
        Finished with GOSSAHASH=100110010111110
      
      Change-Id: I4eff46ebaf496baa2acedd32e217005cb3ac1c62
      Reviewed-on: https://go-review.googlesource.com/29273
      Run-TryBot: David Chase <drchase@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarKeith Randall <khr@golang.org>
      897c0ebf
    • Keith Randall's avatar
      test,cmd/compile: remove _ssa file suffix · b265d517
      Keith Randall authored
      Everything is SSA now.
      
      Update #16357
      
      Change-Id: I436dbe367b863ee81a3695a7d653ba4bfc5b0f6c
      Reviewed-on: https://go-review.googlesource.com/29232Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      b265d517
    • Keith Randall's avatar
      test: make SSA tests unconditional · f13701bf
      Keith Randall authored
      Delete legacy backend tests, make SSA tests unconditional.
      
      Next CL will remove _ssa from the file names.
      
      Update #16357
      
      Change-Id: I2a7f5dcbc69455f63b5e6e6b2725df26ab86c8dd
      Reviewed-on: https://go-review.googlesource.com/29231
      Run-TryBot: Keith Randall <khr@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      f13701bf
    • Sam Whited's avatar
      cmd/fix: add golang.org/x/net/context fix · 22d3bf1d
      Sam Whited authored
      Fixes #17040
      
      Change-Id: I3682cc0367b919084c280d7dc64746495c1d4aaa
      Reviewed-on: https://go-review.googlesource.com/28872Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      22d3bf1d
    • Mohit Agarwal's avatar
      cmd/go: add distribution-specific info for Linux to bug command · 4466298d
      Mohit Agarwal authored
      Also remove the hard-coded path for getting glibc information.
      
      As an example, the following is the diff for `go bug` on Ubuntu before
      and after the change:
      
      >>>
      --- /tmp/01     2016-09-13 15:08:53.202758043 +0530
      +++ /tmp/02     2016-09-13 21:38:17.485039867 +0530
      @@ -1,7 +1,7 @@
       Please check whether the issue also reproduces on the latest release, go1.7.1.
      
       ```
      -go version devel +bdb3b790 Wed Sep 7 03:23:44 2016 +0000 linux/amd64
      +go version devel +cb13150 Wed Sep 7 09:46:58 2016 +0530 linux/amd64
       GOARCH="amd64"
       GOBIN=""
       GOEXE=""
      @@ -18,5 +18,23 @@
       CXX="g++"
       CGO_ENABLED="1"
       uname -sr: Linux 4.4.0-36-generic
      +Distributor ID:        Ubuntu
      +Description:   Ubuntu 16.04.1 LTS
      +Release:       16.04
      +Codename:      xenial
      +/lib/x86_64-linux-gnu/libc.so.6: GNU C Library (Ubuntu GLIBC 2.23-0ubuntu3) stable release version 2.23, by Roland McGrath et al.
       gdb --version: GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
       ```
      <<<
      
      Change-Id: I7e3730a797af0f94d6e43fe4743ab48bc0f11f1b
      Reviewed-on: https://go-review.googlesource.com/28581
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      4466298d
    • David Chase's avatar
      cmd/compile: repair GOSSAFUNC functionality · 3eb16c05
      David Chase authored
      GOSSAFUNC=foo had previously only done printing for the
      single function foo, and didn't quite clean up after itself
      properly. Changes ensures that Config.HTML != nil iff
      GOSSAFUNC==name-of-current-function.
      
      Change-Id: I255e2902dfc64f715d93225f0d29d9525c06f764
      Reviewed-on: https://go-review.googlesource.com/29250
      Run-TryBot: David Chase <drchase@google.com>
      Reviewed-by: default avatarKeith Randall <khr@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      3eb16c05