[PATCH] D95339: [RFC][test] Adapt debug-info lit framework for more general purposes - part 1

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 07:39:39 PST 2021


jhenderson updated this revision to Diff 323009.
jhenderson retitled this revision from "[WIP][RFC][test] Adapt debug-info lit framework for more general purposes" to "[RFC][test] Adapt debug-info lit framework for more general purposes - part 1".
jhenderson edited the summary of this revision.
jhenderson added reviewers: dblaikie, aprantl, jmorse, Orlando, aganea, rnk.
jhenderson added a comment.
Herald added subscribers: teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, stephenneuendorffer, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, rriddle.

I've iterated on this a few times locally, and feel like the easiest thing to do is to make the debuginfo-test directory a subdirectory of some new top-level directory. Further changes are to follow to make the whole thing a little bit more self-consistent.

I consider this now to be in a good state to review.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95339/new/

https://reviews.llvm.org/D95339

Files:
  README.md
  cross-project-tests/CMakeLists.txt
  cross-project-tests/debuginfo-tests/README.txt
  cross-project-tests/debuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/asan-deque.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/asan.c
  cross-project-tests/debuginfo-tests/dexter-tests/ctor.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/dbg-arg.c
  cross-project-tests/debuginfo-tests/dexter-tests/deferred_globals.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/global-constant.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/hello.c
  cross-project-tests/debuginfo-tests/dexter-tests/inline-line-gap.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/bitcast.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/const-branch.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/ctrl-flow.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/implicit-ptr.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/inline-escaping-function.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining-dse.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/inlining.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/loop.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/merged-store.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/ptr-to.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/struct-dse.c
  cross-project-tests/debuginfo-tests/dexter-tests/memvars/unused-merged-value.c
  cross-project-tests/debuginfo-tests/dexter-tests/namespace.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/nrvo-string.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/nrvo.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/optnone-loops.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/realigned-frame.cpp
  cross-project-tests/debuginfo-tests/dexter-tests/stack-var.c
  cross-project-tests/debuginfo-tests/dexter-tests/vla.c
  cross-project-tests/debuginfo-tests/dexter/.gitignore
  cross-project-tests/debuginfo-tests/dexter/Commands.md
  cross-project-tests/debuginfo-tests/dexter/LICENSE.txt
  cross-project-tests/debuginfo-tests/dexter/README.md
  cross-project-tests/debuginfo-tests/dexter/dex/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/builder/Builder.py
  cross-project-tests/debuginfo-tests/dexter/dex/builder/ParserOptions.py
  cross-project-tests/debuginfo-tests/dexter/dex/builder/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/posix/clang-c.sh
  cross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/posix/clang.sh
  cross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/posix/gcc.sh
  cross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/windows/clang-cl_vs2015.bat
  cross-project-tests/debuginfo-tests/dexter/dex/builder/scripts/windows/clang.bat
  cross-project-tests/debuginfo-tests/dexter/dex/command/CommandBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/ParseCommand.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/StepValueInfo.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectProgramState.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepKind.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchType.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexExpectWatchValue.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexLabel.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexUnreachable.py
  cross-project-tests/debuginfo-tests/dexter/dex/command/commands/DexWatch.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ConditionalController.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DebuggerControllerBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/DefaultController.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/Debuggers.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/README.md
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/breakpoint.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/client.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/control.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/probe_process.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/setup.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/symbols.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/symgroup.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/sysobjs.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/utils.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2015.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2017.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio2019.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/ComInterface.py
  cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/BuilderIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/DebuggerIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/DextIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/FrameIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/LocIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ProgramState.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/StepIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ValueIR.py
  cross-project-tests/debuginfo-tests/dexter/dex/dextIR/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/heuristic/Heuristic.py
  cross-project-tests/debuginfo-tests/dexter/dex/heuristic/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/Main.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/TestToolBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/ToolBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/help/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/help/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/list_debuggers/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/list_debuggers/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/no_tool_/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/no_tool_/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/run_debugger_internal_/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/run_debugger_internal_/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/test/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/view/Tool.py
  cross-project-tests/debuginfo-tests/dexter/dex/tools/view/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/Environment.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/Exceptions.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/ExtArgParse.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/PrettyOutputBase.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/ReturnCode.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/RootDirectory.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/Timer.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/UnitTests.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/Version.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/Warning.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/WorkingDirectory.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/posix/PrettyOutput.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/posix/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/windows/PrettyOutput.py
  cross-project-tests/debuginfo-tests/dexter/dex/utils/windows/__init__.py
  cross-project-tests/debuginfo-tests/dexter/dexter.py
  cross-project-tests/debuginfo-tests/dexter/feature_tests/Readme.md
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_kinds.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_step_order.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_type.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_watch_value.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/unreachable.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_program_state.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/direction.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/func_external.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/recursive.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_kind/small_loop.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_step_order.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_type.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/expect_watch_value.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_check_json_step_count.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_loop.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_expect_value.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_overlapping_ranges.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/limit_steps/limit_steps_same_line_conditional.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/lit.local.cfg
  cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/perfect/unreachable.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/lit.local.cfg
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/clang-opt-bisect/clang-opt-bisect.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/help/help.test
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/list-debuggers/list-debuggers.test
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_paren.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_paren_mline.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_syntax.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_syntax_mline.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_type.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/err_type_mline.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/test/source-root-dir.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/subtools/view.cpp
  cross-project-tests/debuginfo-tests/dexter/feature_tests/unittests/run.test
  cross-project-tests/debuginfo-tests/llgdb-tests/apple-accel.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/asan-blocks.c
  cross-project-tests/debuginfo-tests/llgdb-tests/asan-deque.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/asan.c
  cross-project-tests/debuginfo-tests/llgdb-tests/block_var.m
  cross-project-tests/debuginfo-tests/llgdb-tests/blocks.m
  cross-project-tests/debuginfo-tests/llgdb-tests/foreach.m
  cross-project-tests/debuginfo-tests/llgdb-tests/forward-declare-class.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/lit.local.cfg
  cross-project-tests/debuginfo-tests/llgdb-tests/llgdb.py
  cross-project-tests/debuginfo-tests/llgdb-tests/nested-struct.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/nrvo-string.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/safestack.c
  cross-project-tests/debuginfo-tests/llgdb-tests/static-member-2.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/static-member.cpp
  cross-project-tests/debuginfo-tests/llgdb-tests/test_debuginfo.pl
  cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/lit.local.cfg
  cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
  cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
  cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.cpp
  cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.gdb
  cross-project-tests/debuginfo-tests/win_cdb-tests/README.txt
  cross-project-tests/debuginfo-tests/win_cdb-tests/lit.local.cfg.py
  cross-project-tests/lit.cfg.py
  cross-project-tests/lit.site.cfg.py.in
  debuginfo-tests/CMakeLists.txt
  debuginfo-tests/README.txt
  debuginfo-tests/dexter-tests/aggregate-indirect-arg.cpp
  debuginfo-tests/dexter-tests/asan-deque.cpp
  debuginfo-tests/dexter-tests/asan.c
  debuginfo-tests/dexter-tests/ctor.cpp
  debuginfo-tests/dexter-tests/dbg-arg.c
  debuginfo-tests/dexter-tests/deferred_globals.cpp
  debuginfo-tests/dexter-tests/global-constant.cpp
  debuginfo-tests/dexter-tests/hello.c
  debuginfo-tests/dexter-tests/inline-line-gap.cpp
  debuginfo-tests/dexter-tests/memvars/bitcast.c
  debuginfo-tests/dexter-tests/memvars/const-branch.c
  debuginfo-tests/dexter-tests/memvars/ctrl-flow.c
  debuginfo-tests/dexter-tests/memvars/implicit-ptr.c
  debuginfo-tests/dexter-tests/memvars/inline-escaping-function.c
  debuginfo-tests/dexter-tests/memvars/inlining-dse.c
  debuginfo-tests/dexter-tests/memvars/inlining.c
  debuginfo-tests/dexter-tests/memvars/loop.c
  debuginfo-tests/dexter-tests/memvars/merged-store.c
  debuginfo-tests/dexter-tests/memvars/ptr-to.c
  debuginfo-tests/dexter-tests/memvars/struct-dse.c
  debuginfo-tests/dexter-tests/memvars/unused-merged-value.c
  debuginfo-tests/dexter-tests/namespace.cpp
  debuginfo-tests/dexter-tests/nrvo-string.cpp
  debuginfo-tests/dexter-tests/nrvo.cpp
  debuginfo-tests/dexter-tests/optnone-loops.cpp
  debuginfo-tests/dexter-tests/realigned-frame.cpp
  debuginfo-tests/dexter-tests/stack-var.c
  debuginfo-tests/dexter-tests/vla.c
  debuginfo-tests/dexter/.gitignore
  debuginfo-tests/dexter/Commands.md
  debuginfo-tests/dexter/LICENSE.txt
  debuginfo-tests/dexter/README.md
  debuginfo-tests/dexter/dex/__init__.py
  debuginfo-tests/dexter/dex/builder/Builder.py
  debuginfo-tests/dexter/dex/builder/ParserOptions.py
  debuginfo-tests/dexter/dex/builder/__init__.py
  debuginfo-tests/dexter/dex/builder/scripts/posix/clang-c.sh
  debuginfo-tests/dexter/dex/builder/scripts/posix/clang.sh
  debuginfo-tests/dexter/dex/builder/scripts/posix/gcc.sh
  debuginfo-tests/dexter/dex/builder/scripts/windows/clang-cl_vs2015.bat
  debuginfo-tests/dexter/dex/builder/scripts/windows/clang.bat
  debuginfo-tests/dexter/dex/command/CommandBase.py
  debuginfo-tests/dexter/dex/command/ParseCommand.py
  debuginfo-tests/dexter/dex/command/StepValueInfo.py
  debuginfo-tests/dexter/dex/command/__init__.py
  debuginfo-tests/dexter/dex/command/commands/DexExpectProgramState.py
  debuginfo-tests/dexter/dex/command/commands/DexExpectStepKind.py
  debuginfo-tests/dexter/dex/command/commands/DexExpectStepOrder.py
  debuginfo-tests/dexter/dex/command/commands/DexExpectWatchBase.py
  debuginfo-tests/dexter/dex/command/commands/DexExpectWatchType.py
  debuginfo-tests/dexter/dex/command/commands/DexExpectWatchValue.py
  debuginfo-tests/dexter/dex/command/commands/DexLabel.py
  debuginfo-tests/dexter/dex/command/commands/DexLimitSteps.py
  debuginfo-tests/dexter/dex/command/commands/DexUnreachable.py
  debuginfo-tests/dexter/dex/command/commands/DexWatch.py
  (140 more files...)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95339.323009.patch
Type: text/x-patch
Size: 6895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210211/10705fe4/attachment.bin>


More information about the llvm-commits mailing list