summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/GuardUtils.cpp
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-11-20 17:12:29 -0500
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-11-21 18:01:12 -0500
commitf471eb8e99b564265a4bea326922263ff06cda40 (patch)
tree3eb2f6c3a8f5633f883feaf2a22b52be1b09f525 /llvm/lib/Transforms/Utils/GuardUtils.cpp
parentb8b57087d3a6954204c6c968fb3de1dc67a87c59 (diff)
downloadbcm5719-llvm-f471eb8e99b564265a4bea326922263ff06cda40.tar.gz
bcm5719-llvm-f471eb8e99b564265a4bea326922263ff06cda40.zip
[FileCheck] Make FILECHECK_OPTS useful for its test suite
Without this patch, `FILECHECK_OPTS` isn't propagated to FileCheck's test suite so that `FILECHECK_OPTS` doesn't inadvertently affect test results by affecting the output of FileCheck calls under test. As a result, `FILECHECK_OPTS` is useless for debugging FileCheck's test suite. In `llvm/test/FileCheck/lit.local.cfg`, this patch provides a new subsitution, `%ProtectFileCheckOutput`, to address this problem for both `FILECHECK_OPTS` and the deprecated `FILECHECK_DUMP_INPUT_ON_FAILURE`. The rest of the patch uses `%ProtectFileCheckOutput` throughout the test suite Fixes PR40284. Reviewed By: probinson, thopre Differential Revision: https://reviews.llvm.org/D65121
Diffstat (limited to 'llvm/lib/Transforms/Utils/GuardUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud