aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_server.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-11-12 19:19:48 +0000
committerlloyd <[email protected]>2012-11-12 19:19:48 +0000
commit579158e826daed42963db0c8b987d51ba7831fb6 (patch)
tree5e6c93b88460d0ba6871dbc824ccff433c944678 /src/tls/tls_server.cpp
parenteea72cd2e5ab564e172fc7a2b761b6293605ff91 (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