diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-04 19:53:05 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-04 20:25:23 +0200 |
| commit | 399addc8754ed0b484d3c159ac35befe1d3f652c (patch) | |
| tree | 38f937a6c625d253b50b0f51e988ed1c22630b57 /prog/size_test.go | |
| parent | 94e151ceb51191698a068d96191cdd86326050f9 (diff) | |
sys, pkg/compiler: move padding computation to compiler
This makes types constant during execution, everything is precomputed.
Diffstat (limited to 'prog/size_test.go')
| -rw-r--r-- | prog/size_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/size_test.go b/prog/size_test.go index d206a0faa..c72e5283f 100644 --- a/prog/size_test.go +++ b/prog/size_test.go @@ -70,7 +70,7 @@ func TestAssignSize(t *testing.T) { }, { "syz_test$length8(&(0x7f000001f000)={0x00, {0xff, 0x0, 0x00, [0xff, 0xff, 0xff]}, [{0xff, 0x0, 0x00, [0xff, 0xff, 0xff]}], 0x00, 0x0, [0xff, 0xff]})", - "syz_test$length8(&(0x7f000001f000)={0x38, {0xff, 0x1, 0x10, [0xff, 0xff, 0xff]}, [{0xff, 0x1, 0x10, [0xff, 0xff, 0xff]}], 0x10, 0x1, [0xff, 0xff]})", + "syz_test$length8(&(0x7f000001f000)={0x32, {0xff, 0x1, 0x10, [0xff, 0xff, 0xff]}, [{0xff, 0x1, 0x10, [0xff, 0xff, 0xff]}], 0x10, 0x1, [0xff, 0xff]})", }, { "syz_test$length9(&(0x7f000001f000)={&(0x7f0000000000/0x5000)=nil, 0x0000})", |
