summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2021-05-24 16:08:57 -0700
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2021-05-24 16:09:02 -0700
commit1fb6a0307240b0c543ec5babb35e39db2c39052b (patch)
tree12cf3e9b05e82eb66fb25dfda1d92efd0986fc2e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent60c735d409bf8077b2611d102b9a5e5af48464d5 (diff)
[scudo] Add unmapTestOnly() to secondary.
When trying to track down a vaddr-poisoning bug, I found that that the secondary cache isn't emptied on test teardown. We should probably do that to make the tests hermetic. Otherwise, repeating the tests lots of times using --gtest_repeat fails after the mmap vaddr space is exhausted. To repro: $ ninja check-scudo_standalone # build $ ./projects/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest-x86_64-Test \ --gtest_filter=ScudoSecondaryTest.*:-ScudoSecondaryTest.SecondaryCombinations \ --gtest_repeat=10000 Reviewed By: cryptoad Differential Revision: https://reviews.llvm.org/D102874
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions