[PATCH] D125839: [gmodules] Skip CXXDeductionGuideDecls when visiting FunctionDecls in DebugTypeVisitor

Kazushi Marukawa via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 6 18:37:36 PDT 2022


kaz7 added a comment.

Hi, after this patch, our buildbot for VE having errors like https://lab.llvm.org/buildbot/#/builders/91/builds/9984.

When I run a test script by hand, it shows following errors.  Please investigate them.  Thank you.

  $ cd build
  $ /home/marukawa/llvm-upstream/build/bin/clang -cc1 -internal-isystem /home/marukawa/llvm-upstream/build/lib/clang/15.0.0/include -nostdsysteminc -std=c++2b -x c++-header -emit-pch -fmodule-format=obj -I /home/marukawa/llvm-upstream/llvm-project/clang/test/Modules/Inputs    -o /home/marukawa/llvm-upstream/build/tools/clang/test/Modules/Output/gmodules-deduction-guide.cpp.tmp.pch /home/marukawa/llvm-upstream/llvm-project/clang/test/Modules/Inputs/gmodules-deduction-guide.h    -mllvm -debug-only=pchcontainer &>/home/marukawa/llvm-upstream/build/tools/clang/test/Modules/Output/gmodules-deduction-guide.cpp.tmp-pch.ll
  $ echo $?
  1
  $ cat /home/marukawa/llvm-upstream/build/tools/clang/test/Modules/Output/gmodules-deduction-guide.cpp.tmp-pch.ll | /home/marukawa/llvm-upstream/build/bin/FileCheck /home/marukawa/llvm-upstream/llvm-project/clang/test/Modules/gmodules-deduction-guide.cpp
  /home/marukawa/llvm-upstream/llvm-project/clang/test/Modules/gmodules-deduction-guide.cpp:6:11: error: CHECK: expected string not found in input
  // CHECK: ![[V0:.*]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "S<A>",
            ^
  <stdin>:1:1: note: scanning from here
  clang (LLVM option parsing): Unknown command line argument '-debug-only=pchcontainer'. Try: 'clang (LLVM option parsing) --help'
  ^
  
  Input file: <stdin>
  Check file: /home/marukawa/llvm-upstream/llvm-project/clang/test/Modules/gmodules-deduction-guide.cpp
  
  -dump-input=help explains the following input dump.
  
  Input was:
  <<<<<<
           1: clang (LLVM option parsing): Unknown command line argument '-debug-only=pchcontainer'. Try: 'clang (LLVM option parsing) --help'
  check:6     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: clang (LLVM option parsing): Did you mean '--debug-pass=pchcontainer'?
  check:6     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  >>>>>>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125839



More information about the cfe-commits mailing list