aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-10-31 22:45:17 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2020-02-11 16:29:46 -0600
commit1698cc7ebabe47be6cf225960e55ddb8a884d118 (patch)
tree956d3c9775a033f8d5701dcee6e6dd892fd83e23 /llvm/lib/Support/ErrorHandling.cpp
parentd538dc05f3b50653b97c13b446121ac16c364a14 (diff)
downloadllvm-1698cc7ebabe47be6cf225960e55ddb8a884d118.zip
llvm-1698cc7ebabe47be6cf225960e55ddb8a884d118.tar.gz
llvm-1698cc7ebabe47be6cf225960e55ddb8a884d118.tar.bz2
[Utils] Allow "on-the-fly" argument changes for update_test_check scripts
Update test scripts were limited because they performed a single action on the entire file and if that action was controlled by arguments, like the one introduced in D68819, there was no record of it. This patch introduces the capability of changing the arguments passed to the script "on-the-fly" while processing a test file. In addition, an "on/off" switch was added so that processing can be disabled for parts of the file where the content is simply copied. The last extension is a record of the invocation arguments in the auto generated NOTE. These arguments are also picked up in a subsequent invocation, allowing updates with special options enabled without user interaction. To change the arguments the string `UTC_ARGS:` has to be present in a line, followed by "additional command line arguments". That is everything that follows `UTC_ARGS:` will be added to a growing list of "command line arguments" which is reparsed after every update. Reviewed By: arichardson Differential Revision: https://reviews.llvm.org/D69701
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions