1. 29 May, 2018 13 commits
  2. 28 May, 2018 4 commits
  3. 27 May, 2018 1 commit
    • Ian Lance Taylor's avatar
      cmd/go: don't generate output for "go build -o /dev/null x.go" · c1d9d1f3
      Ian Lance Taylor authored
      We look for "-o /dev/null", and, if found, pretend that there was no
      "-o" option and don't generate an action to create the final executable.
      
      We look for "go build x.go", and, if found, and if -o was not used,
      pretend that the user specified "-o x".
      
      Unfortunately, we were doing those in the wrong order, so that "go
      build -o /dev/null x.go" would first clear the "-o" option and then
      set it to "-o x".
      
      This CL flips the order so that the right thing happens.
      
      Fixes #25579
      
      Change-Id: Ic9556ac0a57f7b45b685951bc96ba5ea4633b860
      Reviewed-on: https://go-review.googlesource.com/114715
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      c1d9d1f3
  4. 26 May, 2018 5 commits
  5. 25 May, 2018 6 commits
  6. 24 May, 2018 10 commits
  7. 23 May, 2018 1 commit
    • Heschi Kreinick's avatar
      cmd/compile: fix debug info generation for loads from Phis · 65c365bf
      Heschi Kreinick authored
      Apparently a LoadReg can take a Phi as its argument. The Phi has names
      in the NamedValue table, so just read the Load's names from the Phi.
      
      The example given, XORKeyStream in chacha20, is pretty complicated so I
      didn't try to actually debug it and verify that the results are right.
      But the debug logging looks reasonable, with the right names in the right
      registers at the right times.
      
      Fixes #25404
      
      Change-Id: I2c3183dcfb033948556d6805bd66c22c0b45625c
      Reviewed-on: https://go-review.googlesource.com/114008
      Run-TryBot: Heschi Kreinick <heschi@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarDavid Chase <drchase@google.com>
      65c365bf