[PATCH] D72982: [Clang] Un-break scan-build after integrated-cc1 change

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 21 12:51:31 PST 2020


phosek added a comment.

We're seeing `Driver/cc-print-options.c` test failures after this change:

  ******************** TEST 'Clang :: Driver/cc-print-options.c' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   env CC_PRINT_OPTIONS=1      CC_PRINT_OPTIONS_FILE=/b/s/w/ir/k/recipe_cleanup/clangpfY9av/llvm_build_dir/tools/clang/test/Driver/Output/cc-print-options.c.tmp.log  /b/s/w/ir/k/recipe_cleanup/clangpfY9av/llvm_build_dir/bin/clang -no-canonical-prefixes -S -o /b/s/w/ir/k/recipe_cleanup/clangpfY9av/llvm_build_dir/tools/clang/test/Driver/Output/cc-print-options.c.tmp.s /b/s/w/ir/k/llvm-project/clang/test/Driver/cc-print-options.c
  : 'RUN: at line 4';   /b/s/w/ir/k/recipe_cleanup/clangpfY9av/llvm_build_dir/bin/FileCheck /b/s/w/ir/k/llvm-project/clang/test/Driver/cc-print-options.c < /b/s/w/ir/k/recipe_cleanup/clangpfY9av/llvm_build_dir/tools/clang/test/Driver/Output/cc-print-options.c.tmp.log
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  /b/s/w/ir/k/llvm-project/clang/test/Driver/cc-print-options.c:6:11: error: CHECK: expected string not found in input
  // CHECK: [Logging clang options]{{.*}}clang{{.*}}"-S"
            ^
  <stdin>:1:1: note: scanning from here
  [Logging clang options] (in-process)
  ^


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72982





More information about the cfe-commits mailing list