aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-12-19 16:16:15 +0200
committerMartin Storsjö <martin@martin.st>2021-12-21 19:40:30 +0200
commit008849d7a51e4d7125d5b2eaeba495e4797dd749 (patch)
tree51a84efb597172ea9ae66e20a5b09c5e84032848 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentb7b308c50ae51629a63e759cd1171714eca7784c (diff)
downloadllvm-008849d7a51e4d7125d5b2eaeba495e4797dd749.zip
llvm-008849d7a51e4d7125d5b2eaeba495e4797dd749.tar.gz
llvm-008849d7a51e4d7125d5b2eaeba495e4797dd749.tar.bz2
[libcxx] [test] Don't rerun supportsVerify for each individual test
We can't just memoize _supportsVerify in place in format.py, as it previously was executed in each of the individual processes. Instead use hasCompileFlag() and add a feature flag for it instead, which can be used both by tests (that already have such a flag, locally for one set of tests) and for the testing framework itself. By using hasCompileFlag(), this also implicitly fixes two other issues: Previously, _supportsVerify called subprocess.call() directly, which can interpret command line quoting differently than lit.TestRunner. (In particular, TestRunner handles arguments quoted by a single quote, while launching Windows processes with subprocess.call() only supports double quotes. This allows using shlex.quote(), which uses single quotes, everywhere - as all commands now go through TestRunner. This should make 41d7909368bebc897467a75860a524a5f172564f redundant.) Secondly, the old _supportsVerify method didn't include %{flags) or %{compile_flags}. Differential Revision: https://reviews.llvm.org/D116010
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions