diff options
author | lloyd <[email protected]> | 2012-11-12 19:19:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-11-12 19:19:48 +0000 |
commit | 579158e826daed42963db0c8b987d51ba7831fb6 (patch) | |
tree | 5e6c93b88460d0ba6871dbc824ccff433c944678 /src/tls/tls_server.cpp | |
parent | eea72cd2e5ab564e172fc7a2b761b6293605ff91 (diff) |
Move memory zeroing to a compiled function in a new source file. Cast
the pointer to volatile before writing to it. At least for various
versions of GCC, Clang, and ICC on x86-64, this does cause the
compiler to emit a simple byte-at-a-time loop, and at least in non-LTO
builds the compiler won't optimize the call away. For dealing with
LTO, probably would have to do some kind of complicated side-effect.
Diffstat (limited to 'src/tls/tls_server.cpp')
0 files changed, 0 insertions, 0 deletions