HighCommander4 wrote:

> However, I'm also seeing this version of the patch be crashy when used on a 
> real codebase. Will see if I can get a stack trace.

It's a stack overflow! How fun.

```
#76582 0x00007f15f1a9fdf5 in 
clang::RecursiveASTVisitor<clang::clangd::ForwardingToConstructorVisitor>::TraverseStmt
 (this=0x7f15dc5fb098, S=0x557c014159d0, Queue=0x0)
    at clang/include/clang/AST/RecursiveASTVisitor.h:695
#76583 0x00007f15f19a2b06 in 
clang::clangd::ForwardingToConstructorVisitor::VisitCallExpr 
(this=0x7f15dc5fb350, E=0x557c01414b18)
    at clang-tools-extra/clangd/AST.cpp:1068
#76584 0x00007f15f1b51590 in 
clang::RecursiveASTVisitor<clang::clangd::ForwardingToConstructorVisitor>::WalkUpFromCallExpr
 (this=0x7f15dc5fb350, S=0x557c01414b18)
    at tools/clang/include/clang/AST/StmtNodes.inc:608
#76585 0x00007f15f1b51bcd in 
clang::RecursiveASTVisitor<clang::clangd::ForwardingToConstructorVisitor>::WalkUpFromCXXMemberCallExpr
 (this=0x7f15dc5fb350, S=0x557c01414b18)
    at tools/clang/include/clang/AST/StmtNodes.inc:624
#76586 0x00007f15f1b51a45 in 
clang::RecursiveASTVisitor<clang::clangd::ForwardingToConstructorVisitor>::TraverseCXXMemberCallExpr
 (this=0x7f15dc5fb350, S=0x557c01414b18,
    Queue=0x7f15dc5fb278) at clang/include/clang/AST/RecursiveASTVisitor.h:2899
#76587 0x00007f15f1b42f29 in 
clang::RecursiveASTVisitor<clang::clangd::ForwardingToConstructorVisitor>::dataTraverseNode
 (this=0x7f15dc5fb350, S=0x557c01414b18, Queue=0x7f15dc5fb278)
    at tools/clang/include/clang/AST/StmtNodes.inc:624
#76588 0x00007f15f1a9fdf5 in 
clang::RecursiveASTVisitor<clang::clangd::ForwardingToConstructorVisitor>::TraverseStmt
 (this=0x7f15dc5fb350, S=0x557c01414b90, Queue=0x0)
    at clang/include/clang/AST/RecursiveASTVisitor.h:695
#76589 0x00007f15f256695a in 
clang::clangd::SymbolCollector::findIndirectConstructors (this=0x7f15d40230b0, 
D=0x7f15c14ea830)
    at clang-tools-extra/clangd/index/SymbolCollector.cpp:594
```

The top 6 frames then repeat.

https://github.com/llvm/llvm-project/pull/169742
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to