summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-11-03 23:31:00 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-11-03 23:31:00 +0000
commit32224fe842a61b490080c2ecdaf655881b1f6a99 (patch)
tree0dfb92f12e44ebf4c450c1ea1c63cbb36b23cc9d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent91b4790b33eb0f484bf3f7c07fb4f6e24d9fd098 (diff)
downloadbcm5719-llvm-32224fe842a61b490080c2ecdaf655881b1f6a99.tar.gz
bcm5719-llvm-32224fe842a61b490080c2ecdaf655881b1f6a99.zip
[Sanitizers] Call NanoTime() conditionally.
Summary: Call NanoTime() in primary 64 bit allocator only when necessary, otherwise the unwarranted syscall causes problems in sandbox environments. ReleaseToOSIntervalMs() conditional allows them to turn the feature off with allocator_release_to_os_interval_ms=-1 flag. Reviewers: eugenis Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D39624 llvm-svn: 317386
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud