rogfer01 added a comment.
Herald added a subscriber: wangpc.

In D152070#4421004 <https://reviews.llvm.org/D152070#4421004>, @DavidSpickett 
wrote:

> FYI after this change:
>
>   Building CXX object 
> tools/lldb/sou...luginTypeSystemClang.dir/TypeSystemClang.cpp.o
>   
> /home/david.spickett/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4843:13:
>  warning: 225 enumeration values not handled in switch: 'RvvInt8mf8x2', 
> 'RvvInt8mf8x3', 'RvvInt8mf8x4'... [-Wswitch]
>       switch (llvm::cast<clang::BuiltinType>(qual_type)->getKind()) {
>               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> lldb doesn't do anything with RVV yet, so you can likely just add all the 
> names to the existing block of RVV stuff that just `break`s at the end.

This might be the cause to a crash I'm observing and that bisect pointed to.

Reproducer:

  $ touch t.c # empty file
  $ clang -cc1 -triple riscv64 -w -emit-pch -o test.pch t.c
  $ clang -cc1 -triple riscv64 -w -x c -include-pch test.pch -ast-dump-all 
/dev/null


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152070

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to