llvm-project/llvm
Johannes Doerfert 1698cc7eba [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
2020-02-11 16:29:46 -06:00
..
benchmarks
bindings Pass length of string in Go binding of CreateCompileUnit 2020-01-17 13:35:30 -08:00
cmake [CMake] Use LLVM tools external project build where possible 2020-02-07 13:43:30 -08:00
docs [CodingStandards] Add link to "Picking the Right Data Structure" 2020-02-11 11:06:04 -06:00
examples [CMake] Add missing component dependencies, to fix building for mingw with BUILD_SHARED_LIBS 2020-02-05 13:10:27 +02:00
include [JITLink] Add an assertion that block removal leaves no dangling symbols. 2020-02-11 12:56:41 -08:00
lib [ConstantFold][SVE] Fix constand fold for vector call. 2020-02-11 14:06:15 -08:00
projects
resources
runtimes Revert "[CMake] Filter libc++abi and libunwind from runtimes build in MSVC" 2020-02-07 11:28:21 -08:00
test [Utils] Allow "on-the-fly" argument changes for update_test_check scripts 2020-02-11 16:29:46 -06:00
tools [NFC] Refactor the tuple of symbol information with structure for llvm-objdump 2020-02-11 14:41:24 -05:00
unittests Update test for windows. 2020-02-11 12:35:46 -08:00
utils [Utils] Allow "on-the-fly" argument changes for update_test_check scripts 2020-02-11 16:29:46 -06:00
.arcconfig
.clang-format
.clang-tidy - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory 2020-01-31 16:49:45 +00:00
.gitattributes
.gitignore Continue removing llgo. 2020-02-10 10:33:58 -08:00
CMakeLists.txt Continue removing llgo. 2020-02-10 10:33:58 -08:00
CODE_OWNERS.TXT Continue removing llgo. 2020-02-10 10:33:58 -08:00
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.