aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2020-04-17 09:19:49 -0400
committerLouis Dionne <ldionne@apple.com>2020-04-27 09:56:04 -0400
commit6d58030c8c7d481d08a549246fd3103aceb61c7b (patch)
tree7727e8a9bde58f306b9ad0054c87bf45ac9b0b74 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent9671f6e8d5edb07cb0dd0bd38fc2c3d29960458f (diff)
downloadllvm-6d58030c8c7d481d08a549246fd3103aceb61c7b.zip
llvm-6d58030c8c7d481d08a549246fd3103aceb61c7b.tar.gz
llvm-6d58030c8c7d481d08a549246fd3103aceb61c7b.tar.bz2
[libc++] Create a small DSL for defining Lit features and parameters
This allows defining Lit features that can be enabled or disabled based on compiler support, and parameters that are passed on the command line. The main benefits are: - Feature detection is entirely based on the substitutions provided in the TestingConfig object, which is simpler and decouples it from the complicated compiler emulation infrastructure. - The syntax is declarative, which makes it easy to see what features and parameters are accepted by the test suite. This is significantly less entangled than the current config.py logic. - Since feature detection is based on substitutions, it works really well on top of the new format, and custom Lit configurations can be created easily without being based on `config.py`. Differential Revision: https://reviews.llvm.org/D78381
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions