[PATCH] D42712: [utils] Add utils/update_cc_test_checks.py
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 15:08:36 PST 2018
MaskRay created this revision.
MaskRay added reviewers: spatel, echristo.
Herald added a subscriber: llvm-commits.
A utility to update LLVM IR or assembly CHECK lines in C/C++ FileCheck test files.
Example RUN lines in .c/.cc test files:
// RUN: %clang -S %s -o - -O2 | FileCheck %s
// RUN: %clang -emit-llvm -S %s -o - -O2 | FileCheck %s
Usage:
% utils/update_cc_test_checks.py --llvm-bin=release/bin test/a.cc
% utils/update_cc_test_checks.py --c-index-test-exe=release/bin/c-index-test \
--clang=release/bin/clang /tmp/c/a.cc
Repository:
rL LLVM
https://reviews.llvm.org/D42712
Files:
utils/UpdateTestChecks/asm.py
utils/UpdateTestChecks/common.py
utils/update_cc_test_checks.py
utils/update_llc_test_checks.py
utils/update_test_checks.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42712.132060.patch
Type: text/x-patch
Size: 25934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/de7f6d8b/attachment.bin>
More information about the llvm-commits
mailing list