tools/go/ssa
Tobias Klauser ccd319aab1 go/ssa/interp: add internal/syscall/unix.syscall_fcntl to fix tests
CL 100077 added the syscall_fcntl function in the internal/syscall/unix
package to refer to syscall.fcntl outside of the syscall package in a
unified way.

Add a replacement that simulates a successful fcntl call to fix the
interp tests.

Change-Id: I05847d222f18a19cb30f1395497e708a027a002e
Reviewed-on: https://go-review.googlesource.com/106415
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-11 19:48:31 +00:00
..
interp go/ssa/interp: add internal/syscall/unix.syscall_fcntl to fix tests 2018-04-11 19:48:31 +00:00
ssautil tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
testdata x/tools/go/ssa: Accept struct conversions that ignore tags 2017-06-02 20:57:42 +00:00
blockopt.go go.tools/go/ssa: don't attempt fusion on single-pred blocks with φ-nodes 2014-04-24 09:08:21 -04:00
builder.go go/ssa: complete interface types for correct string form (fix build) 2017-11-30 18:55:14 +00:00
builder_test.go go/ssa: eliminate dead φ-nodes in cycles 2017-02-22 01:23:56 +00:00
const.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
create.go go/loader: don't create types.Package for "unsafe" 2017-03-02 21:55:26 +00:00
doc.go go/ssa: update package doc to mention ssautil.CreateProgram 2015-07-27 18:48:45 +00:00
dom.go go.tools/go/ssa: use bytes.Buffer instead of io.Writer. 2014-01-28 17:48:10 -05:00
emit.go x/tools/go/ssa: Accept struct conversions that ignore tags 2017-06-02 20:57:42 +00:00
example_test.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
func.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
identical.go x/tools/go/ssa: Accept struct conversions that ignore tags 2017-06-02 20:57:42 +00:00
identical_17.go x/tools/go/ssa: Accept struct conversions that ignore tags 2017-06-02 20:57:42 +00:00
identical_test.go x/tools/go/ssa: Accept struct conversions that ignore tags 2017-06-02 20:57:42 +00:00
lift.go go/ssa: fix regression in φ-elimination 2017-06-15 18:36:17 +00:00
lvalue.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
methods.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
mode.go go/ssa: make *BuilderMode satisfy flag.Value 2016-03-07 22:18:09 +00:00
print.go go/ssa: fix regression in φ-elimination 2017-06-15 18:36:17 +00:00
sanity.go all: fix a few issues found by unparam 2018-02-13 22:52:51 +00:00
source.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
source_test.go x/tools/go/ssa: Accept struct conversions that ignore tags 2017-06-02 20:57:42 +00:00
ssa.go x/tools/go/ssa: remove unused field from NamedConst 2017-03-01 14:40:01 +00:00
stdlib_test.go go/ssa: avoid no-arg println(), for gccgo compatibility 2016-11-23 22:44:20 +00:00
testmain.go go/...: fix/disable broken tests 2018-01-17 18:00:52 +00:00
testmain_test.go go/ssa: support custom TestMain functions in test packages 2016-10-19 17:50:59 +00:00
util.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
wrappers.go tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00