diff options
| author | Mark Johnston <markjdb@gmail.com> | 2019-11-05 14:54:47 -0500 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-08 10:51:32 +0100 |
| commit | 5e1ad02b1770214d9503070b52c4eb7bdd6c6cff (patch) | |
| tree | 9f461da0427584ff20b2504ac623af478c1c7bd0 /executor/executor_test.h | |
| parent | 1e35461e020a8b43c7b2d79ee64eb4068a9f0481 (diff) | |
pkg/csource: Force promotion of 64-bit constant values
Constant 64-bit arguments to the variadic syscall(2) must have their
width specified explicitly. In practice this is not necessary most of
the time, but on amd64/freebsd with clang the compiler can and does
store the constant 32-bit value to the stack, leaving garbage in the
upper 32 bits.
This makes C reproducers somewhat uglier, but I see no other solution.
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions
