[all-commits] [llvm/llvm-project] c2c2be: [Dexter] Add DexDeclareFile command to Dexter

Tom Weaver via All-commits all-commits at lists.llvm.org
Tue May 25 04:47:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2c2be44ed644199a5a9832bf9ac34fc3ef6b486
      https://github.com/llvm/llvm-project/commit/c2c2be44ed644199a5a9832bf9ac34fc3ef6b486
  Author: Tom Weaver <Tom.Weaver at Sony.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M debuginfo-tests/dexter/Commands.md
    A debuginfo-tests/dexter/d.diff
    M debuginfo-tests/dexter/dex/command/ParseCommand.py
    A debuginfo-tests/dexter/dex/command/commands/DexDeclareFile.py
    M debuginfo-tests/dexter/dex/tools/TestToolBase.py
    M debuginfo-tests/dexter/dex/tools/clang_opt_bisect/Tool.py
    M debuginfo-tests/dexter/dex/tools/test/Tool.py
    A debuginfo-tests/dexter/feature_tests/commands/penalty/dex_declare_file.cpp
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/commands.dex
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/lit.local.cfg.py
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/test.cfg
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/dex_and_source/test.cpp
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/commands.dex
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/lit.local.cfg.py
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary/test.cpp
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/dex_commands/commands.dex
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/lit.local.cfg.py
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/precompiled_binary_different_dir/source/test.cpp
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/lit.local.cfg.py
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/source/test file.cpp
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.cfg
    A debuginfo-tests/dexter/feature_tests/commands/perfect/dex_declare_file/windows_noncanonical_path/test.dex

  Log Message:
  -----------
  [Dexter] Add DexDeclareFile command to Dexter

DexDeclareFile allows test producers to write test files with .dex extensions
that contain pure dexter commands.

.dex file commands do not need to be commented out like they do when written
inline within test source files.

DexDeclareFile commands are declarative in behaviour, they state that any
Dexter command seen from this point on will have its path attribute set to the
path declared in the DexDeclareFile command.

Differential Revision: https://reviews.llvm.org/D99651




More information about the All-commits mailing list