about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-11-05 12:38:09 -0800
committerJosh Stone <jistone@redhat.com>2020-11-16 11:26:49 -0800
commit7a15f026f2666a16255904879028acdd5513c766 (patch)
tree3b2f577d4bd6fe18ecf89786721a8711cd58ff37 /src/test/debuginfo/enum-thinlto.rs
parentf5230fbf76bafd86ee4376a0e26e551df8d17fec (diff)
downloadrust-7a15f026f2666a16255904879028acdd5513c766.tar.gz
rust-7a15f026f2666a16255904879028acdd5513c766.zip
linux: try to use libc getrandom to allow interposition
We'll try to use a weak `getrandom` symbol first, because that allows
things like `LD_PRELOAD` interposition. For example, perf measurements
might want to disable randomness to get reproducible results. If the
weak symbol is not found, we fall back to a raw `SYS_getrandom` call.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions