1. 17 Sep, 2016 5 commits
  2. 16 Sep, 2016 32 commits
  3. 15 Sep, 2016 3 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