[PATCH] D99651: [Dexter] Implement DexDeclareFile, a new Dexter command

Tom Weaver via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 07:41:53 PDT 2021


TWeaver added a comment.

Apologies for the missing test, here it is! :)

Will be pushing this shortly, thanks a bunch.

  # Purpose:
  #    Check that poorly formed, non canonical paths resolve correctly on windows.
  #
  # REQUIRES: system-windows
  #
  # RUN: %clang "%S/source/test file.cpp" -O0 -g -o %t
  # RUN: %dexter_regression_test --binary %t %s | FileCheck %s
  # CHECK: test.dex
  #
  # ./source/test file.cpp
  # 1 int main(const int argc, const char * argv[]) {
  # 2 int result = argc;
  # 3 return result;
  # 4 }
  
  DexDeclareFile('./sOuRce\\test filE.cpp')
  DexExpectWatchValue('result', 1, on_line=3)


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

https://reviews.llvm.org/D99651



More information about the llvm-commits mailing list