Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ❯ ~/src/llvm-project/build_optdebug/bin/lldb --version
- lldb version 16.0.0git (https://github.com/llvm/llvm-project.git revision b7dae832e61da1f8b48cce1715514cbd5809eb3f)
- clang revision b7dae832e61da1f8b48cce1715514cbd5809eb3f
- llvm revision b7dae832e61da1f8b48cce1715514cbd5809eb3f
- ❯ ~/src/llvm-project/build_optdebug/bin/lldb ~/src/llvm-project/build_optdebug/bin/clang-16 -- -cc1 -x c++ ~/tmp/main.cc
- (lldb) target create "/home/werat/src/llvm-project/build_optdebug/bin/clang-16"
- Current executable set to '/home/werat/src/llvm-project/build_optdebug/bin/clang-16' (x86_64).
- (lldb) settings set -- target.run-args "-cc1" "-x" "c++" "/home/werat/tmp/main.cc"
- (lldb) b main
- Breakpoint 1: where = clang-16`main at clang-driver.cpp:11:42, address = 0x00000000029ec7f0
- (lldb) r
- Process 3996301 launched: '/home/werat/src/llvm-project/build_optdebug/bin/clang-16' (x86_64)
- Process 3996301 stopped
- * thread #1, name = 'clang-16', stop reason = breakpoint 1.1
- frame #0: 0x0000555557f407f0 clang-16`main(argc=5, argv=0x00007fffffffe0b8) at clang-driver.cpp:11:42
- 8
- 9 int clang_main(int argc, char **argv);
- 10
- -> 11 int main(int argc, char **argv) { return clang_main(argc, argv); }
- (lldb) p 1+2
- (int) $0 = 3
- (lldb) b SemaExpr.cpp:1528
- Breakpoint 2: where = clang-16`clang::Sema::UsualArithmeticConversions(clang::ActionResult<clang::Expr*, true>&, clang::ActionResult<clang::Expr*, true>&, clang::SourceLocation, clang::Sema::ArithConvKind) + 390 at SemaExpr.cpp:1530:7, address = 0x000055555b2987a6
- (lldb) c
- Process 3996301 resuming
- Process 3996301 stopped
- * thread #1, name = 'clang-16', stop reason = breakpoint 2.1
- frame #0: 0x000055555b2987a6 clang-16`clang::Sema::UsualArithmeticConversions(this=0x000055555c6d3570, LHS=0x00007fffffff7170, RHS=0x00007fffffff7178, Loc=(ID = 86), ACK=ACK_Arithmetic) at SemaExpr.cpp:1530:7
- 1527 ArithConvKind ACK) {
- 1528 checkEnumArithmeticConversions(*this, LHS.get(), RHS.get(), Loc, ACK);
- 1529
- -> 1530 if (ACK != ACK_CompAssign) {
- 1531 LHS = UsualUnaryConversions(LHS.get());
- 1532 if (LHS.isInvalid())
- 1533 return QualType();
- (lldb) p 1+2
- lldb: /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:742: void (anonymous namespace)::CGRecordLowering::clipTailPadding(): Assertion `Prior->Kind == MemberInfo::Field && "Only storage fields have tail padding!"' failed.
- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
- Stack dump:
- 0. Program arguments: /home/werat/src/llvm-project/build_optdebug/bin/lldb /home/werat/src/llvm-project/build_optdebug/bin/clang-16 -- -cc1 -x c++ /home/werat/tmp/main.cc
- #0 0x0000556de81b6a03 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/werat/src/llvm-project/llvm/lib/Support/Unix/Signals.inc:569:13
- #1 0x0000556de81b5030 llvm::sys::RunSignalHandlers() /home/werat/src/llvm-project/llvm/lib/Support/Signals.cpp:104:18
- #2 0x0000556de81b700a SignalHandler(int) /home/werat/src/llvm-project/llvm/lib/Support/Unix/Signals.inc:407:1
- #3 0x00007faf877d8200 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12200)
- #4 0x00007faf817d08c1 raise ./signal/../sysdeps/unix/sysv/linux/raise.c:50:1
- #5 0x00007faf817ba546 abort ./stdlib/abort.c:81:7
- #6 0x00007faf817ba42f get_sysdep_segment_value ./intl/loadmsgcat.c:509:8
- #7 0x00007faf817ba42f _nl_load_domain ./intl/loadmsgcat.c:970:34
- #8 0x00007faf817c9242 (/lib/x86_64-linux-gnu/libc.so.6+0x31242)
- #9 0x00007faf852fa2dc llvm::isa_impl_cl<llvm::IntegerType, llvm::Type const*>::doit(llvm::Type const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:109:5
- #10 0x00007faf852fa2dc llvm::isa_impl_wrap<llvm::IntegerType, llvm::Type const*, llvm::Type const*>::doit(llvm::Type const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #11 0x00007faf852fa2dc llvm::isa_impl_wrap<llvm::IntegerType, llvm::Type const* const, llvm::Type const*>::doit(llvm::Type const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #12 0x00007faf852fa2dc llvm::CastIsPossible<llvm::IntegerType, llvm::Type const*, void>::isPossible(llvm::Type const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #13 0x00007faf852fa2dc llvm::CastInfo<llvm::IntegerType, llvm::Type* const, void>::isPossible(llvm::Type* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #14 0x00007faf852fa2dc bool llvm::isa<llvm::IntegerType, llvm::Type*>(llvm::Type* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #15 0x00007faf852fa2dc decltype(auto) llvm::cast<llvm::IntegerType, llvm::Type>(llvm::Type*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:578:3
- #16 0x00007faf852fa2dc (anonymous namespace)::CGRecordLowering::clipTailPadding() /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:745:13
- #17 0x00007faf852fa2dc (anonymous namespace)::CGRecordLowering::lower(bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:302:3
- #18 0x00007faf852f73c2 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #19 0x00007faf852f73c2 clang::CXXRecordDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/DeclCXX.h:1821:62
- #20 0x00007faf852f73c2 llvm::isa_impl<clang::CXXRecordDecl, clang::RecordDecl, void>::doit(clang::RecordDecl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #21 0x00007faf852f73c2 llvm::isa_impl_cl<clang::CXXRecordDecl, clang::RecordDecl const*>::doit(clang::RecordDecl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #22 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const*, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #23 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const* const, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #24 0x00007faf852f73c2 llvm::CastIsPossible<clang::CXXRecordDecl, clang::RecordDecl const*, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #25 0x00007faf852f73c2 llvm::CastInfo<clang::CXXRecordDecl, clang::RecordDecl const* const, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #26 0x00007faf852f73c2 bool llvm::isa<clang::CXXRecordDecl, clang::RecordDecl const*>(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #27 0x00007faf852f73c2 clang::CodeGen::CodeGenTypes::ComputeRecordLayout(clang::RecordDecl const*, llvm::StructType*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:885:7
- #28 0x00007faf85075784 clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:885:3
- #29 0x00007faf8507576f clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:0:7
- #30 0x00007faf850741ba clang::CodeGen::CodeGenTypes::ConvertTypeForMem(clang::QualType, bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:99:19
- #31 0x00007faf852fb5a2 (anonymous namespace)::CGRecordLowering::getStorageType(clang::FieldDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:148:30
- #32 0x00007faf852f8a70 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #33 0x00007faf852f8a70 clang::FieldDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/Decl.h:3085:62
- #34 0x00007faf852f8a70 llvm::isa_impl<clang::FieldDecl, clang::Decl, void>::doit(clang::Decl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #35 0x00007faf852f8a70 llvm::isa_impl_cl<clang::FieldDecl, clang::Decl const*>::doit(clang::Decl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #36 0x00007faf852f8a70 llvm::isa_impl_wrap<clang::FieldDecl, clang::Decl const*, clang::Decl const*>::doit(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #37 0x00007faf852f8a70 llvm::isa_impl_wrap<clang::FieldDecl, clang::Decl const* const, clang::Decl const*>::doit(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #38 0x00007faf852f8a70 llvm::CastIsPossible<clang::FieldDecl, clang::Decl const*, void>::isPossible(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #39 0x00007faf852f8a70 llvm::CastInfo<clang::FieldDecl, clang::Decl* const, void>::isPossible(clang::Decl* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #40 0x00007faf852f8a70 bool llvm::isa<clang::FieldDecl, clang::Decl*>(clang::Decl* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #41 0x00007faf852f8a70 decltype(auto) llvm::cast<clang::FieldDecl, clang::Decl>(clang::Decl*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:578:3
- #42 0x00007faf852f8a70 clang::DeclContext::specific_decl_iterator<clang::FieldDecl>::operator*() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:2225:43
- #43 0x00007faf852f8a70 (anonymous namespace)::CGRecordLowering::accumulateFields() /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:384:35
- #44 0x00007faf852f8a70 (anonymous namespace)::CGRecordLowering::lower(bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:287:3
- #45 0x00007faf852f73c2 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #46 0x00007faf852f73c2 clang::CXXRecordDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/DeclCXX.h:1821:62
- #47 0x00007faf852f73c2 llvm::isa_impl<clang::CXXRecordDecl, clang::RecordDecl, void>::doit(clang::RecordDecl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #48 0x00007faf852f73c2 llvm::isa_impl_cl<clang::CXXRecordDecl, clang::RecordDecl const*>::doit(clang::RecordDecl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #49 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const*, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #50 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const* const, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #51 0x00007faf852f73c2 llvm::CastIsPossible<clang::CXXRecordDecl, clang::RecordDecl const*, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #52 0x00007faf852f73c2 llvm::CastInfo<clang::CXXRecordDecl, clang::RecordDecl const* const, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #53 0x00007faf852f73c2 bool llvm::isa<clang::CXXRecordDecl, clang::RecordDecl const*>(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #54 0x00007faf852f73c2 clang::CodeGen::CodeGenTypes::ComputeRecordLayout(clang::RecordDecl const*, llvm::StructType*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:885:7
- #55 0x00007faf85075784 clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:885:3
- #56 0x00007faf8507576f clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:0:7
- #57 0x00007faf850741ba clang::CodeGen::CodeGenTypes::ConvertTypeForMem(clang::QualType, bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:99:19
- #58 0x00007faf852fb5a2 (anonymous namespace)::CGRecordLowering::getStorageType(clang::FieldDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:148:30
- #59 0x00007faf852f8a70 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #60 0x00007faf852f8a70 clang::FieldDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/Decl.h:3085:62
- #61 0x00007faf852f8a70 llvm::isa_impl<clang::FieldDecl, clang::Decl, void>::doit(clang::Decl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #62 0x00007faf852f8a70 llvm::isa_impl_cl<clang::FieldDecl, clang::Decl const*>::doit(clang::Decl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #63 0x00007faf852f8a70 llvm::isa_impl_wrap<clang::FieldDecl, clang::Decl const*, clang::Decl const*>::doit(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #64 0x00007faf852f8a70 llvm::isa_impl_wrap<clang::FieldDecl, clang::Decl const* const, clang::Decl const*>::doit(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #65 0x00007faf852f8a70 llvm::CastIsPossible<clang::FieldDecl, clang::Decl const*, void>::isPossible(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #66 0x00007faf852f8a70 llvm::CastInfo<clang::FieldDecl, clang::Decl* const, void>::isPossible(clang::Decl* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #67 0x00007faf852f8a70 bool llvm::isa<clang::FieldDecl, clang::Decl*>(clang::Decl* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #68 0x00007faf852f8a70 decltype(auto) llvm::cast<clang::FieldDecl, clang::Decl>(clang::Decl*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:578:3
- #69 0x00007faf852f8a70 clang::DeclContext::specific_decl_iterator<clang::FieldDecl>::operator*() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:2225:43
- #70 0x00007faf852f8a70 (anonymous namespace)::CGRecordLowering::accumulateFields() /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:384:35
- #71 0x00007faf852f8a70 (anonymous namespace)::CGRecordLowering::lower(bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:287:3
- #72 0x00007faf852f73c2 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #73 0x00007faf852f73c2 clang::CXXRecordDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/DeclCXX.h:1821:62
- #74 0x00007faf852f73c2 llvm::isa_impl<clang::CXXRecordDecl, clang::RecordDecl, void>::doit(clang::RecordDecl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #75 0x00007faf852f73c2 llvm::isa_impl_cl<clang::CXXRecordDecl, clang::RecordDecl const*>::doit(clang::RecordDecl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #76 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const*, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #77 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const* const, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #78 0x00007faf852f73c2 llvm::CastIsPossible<clang::CXXRecordDecl, clang::RecordDecl const*, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #79 0x00007faf852f73c2 llvm::CastInfo<clang::CXXRecordDecl, clang::RecordDecl const* const, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #80 0x00007faf852f73c2 bool llvm::isa<clang::CXXRecordDecl, clang::RecordDecl const*>(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #81 0x00007faf852f73c2 clang::CodeGen::CodeGenTypes::ComputeRecordLayout(clang::RecordDecl const*, llvm::StructType*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:885:7
- #82 0x00007faf85075784 clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:885:3
- #83 0x00007faf850741ba clang::CodeGen::CodeGenTypes::ConvertTypeForMem(clang::QualType, bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:99:19
- #84 0x00007faf852fb5a2 (anonymous namespace)::CGRecordLowering::getStorageType(clang::FieldDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:148:30
- #85 0x00007faf852f8a70 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #86 0x00007faf852f8a70 clang::FieldDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/Decl.h:3085:62
- #87 0x00007faf852f8a70 llvm::isa_impl<clang::FieldDecl, clang::Decl, void>::doit(clang::Decl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #88 0x00007faf852f8a70 llvm::isa_impl_cl<clang::FieldDecl, clang::Decl const*>::doit(clang::Decl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #89 0x00007faf852f8a70 llvm::isa_impl_wrap<clang::FieldDecl, clang::Decl const*, clang::Decl const*>::doit(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #90 0x00007faf852f8a70 llvm::isa_impl_wrap<clang::FieldDecl, clang::Decl const* const, clang::Decl const*>::doit(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #91 0x00007faf852f8a70 llvm::CastIsPossible<clang::FieldDecl, clang::Decl const*, void>::isPossible(clang::Decl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #92 0x00007faf852f8a70 llvm::CastInfo<clang::FieldDecl, clang::Decl* const, void>::isPossible(clang::Decl* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #93 0x00007faf852f8a70 bool llvm::isa<clang::FieldDecl, clang::Decl*>(clang::Decl* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #94 0x00007faf852f8a70 decltype(auto) llvm::cast<clang::FieldDecl, clang::Decl>(clang::Decl*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:578:3
- #95 0x00007faf852f8a70 clang::DeclContext::specific_decl_iterator<clang::FieldDecl>::operator*() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:2225:43
- #96 0x00007faf852f8a70 (anonymous namespace)::CGRecordLowering::accumulateFields() /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:384:35
- #97 0x00007faf852f8a70 (anonymous namespace)::CGRecordLowering::lower(bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:287:3
- #98 0x00007faf852f73c2 clang::Decl::getKind() const /home/werat/src/llvm-project/clang/include/clang/AST/DeclBase.h:435:51
- #99 0x00007faf852f73c2 clang::CXXRecordDecl::classof(clang::Decl const*) /home/werat/src/llvm-project/clang/include/clang/AST/DeclCXX.h:1821:62
- #100 0x00007faf852f73c2 llvm::isa_impl<clang::CXXRecordDecl, clang::RecordDecl, void>::doit(clang::RecordDecl const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:64:53
- #101 0x00007faf852f73c2 llvm::isa_impl_cl<clang::CXXRecordDecl, clang::RecordDecl const*>::doit(clang::RecordDecl const*) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:110:12
- #102 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const*, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
- #103 0x00007faf852f73c2 llvm::isa_impl_wrap<clang::CXXRecordDecl, clang::RecordDecl const* const, clang::RecordDecl const*>::doit(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
- #104 0x00007faf852f73c2 llvm::CastIsPossible<clang::CXXRecordDecl, clang::RecordDecl const*, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
- #105 0x00007faf852f73c2 llvm::CastInfo<clang::CXXRecordDecl, clang::RecordDecl const* const, void>::isPossible(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:510:12
- #106 0x00007faf852f73c2 bool llvm::isa<clang::CXXRecordDecl, clang::RecordDecl const*>(clang::RecordDecl const* const&) /home/werat/src/llvm-project/llvm/include/llvm/Support/Casting.h:549:10
- #107 0x00007faf852f73c2 clang::CodeGen::CodeGenTypes::ComputeRecordLayout(clang::RecordDecl const*, llvm::StructType*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:885:7
- #108 0x00007faf85075784 clang::CodeGen::CodeGenTypes::ConvertRecordDeclType(clang::RecordDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:885:3
- #109 0x00007faf850741ba clang::CodeGen::CodeGenTypes::ConvertTypeForMem(clang::QualType, bool) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:99:19
- #110 0x00007faf8507491c clang::CodeGen::CodeGenTypes::ConvertType(clang::QualType) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenTypes.cpp:665:31
- #111 0x00007faf85481c60 (anonymous namespace)::X86_64ABIInfo::classifyArgumentType(clang::QualType, unsigned int, unsigned int&, unsigned int&, bool, bool) const /home/werat/src/llvm-project/clang/lib/CodeGen/TargetInfo.cpp:3797:15
- #112 0x00007faf8547f8ab (anonymous namespace)::X86_64ABIInfo::computeInfo(clang::CodeGen::CGFunctionInfo&) const /home/werat/src/llvm-project/clang/lib/CodeGen/TargetInfo.cpp:4010:18
- #113 0x00007faf8504fb84 clang::CodeGen::ABIArgInfo::isDirect() const /home/werat/src/llvm-project/clang/include/clang/CodeGen/CGFunctionInfo.h:296:34
- #114 0x00007faf8504fb84 clang::CodeGen::ABIArgInfo::canHaveCoerceToType() const /home/werat/src/llvm-project/clang/include/clang/CodeGen/CGFunctionInfo.h:306:12
- #115 0x00007faf8504fb84 clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(clang::CanQual<clang::Type>, bool, bool, llvm::ArrayRef<clang::CanQual<clang::Type>>, clang::FunctionType::ExtInfo, llvm::ArrayRef<clang::FunctionType::ExtParameterInfo>, clang::CodeGen::RequiredArgs) /home/werat/src/llvm-project/clang/lib/CodeGen/CGCall.cpp:796:15
- #116 0x00007faf8504ff1f arrangeLLVMFunctionInfo(clang::CodeGen::CodeGenTypes&, bool, llvm::SmallVectorImpl<clang::CanQual<clang::Type>>&, clang::CanQual<clang::FunctionProtoType>) /home/werat/src/llvm-project/clang/lib/CodeGen/CGCall.cpp:191:14
- #117 0x00007faf850500b4 clang::CodeGen::CodeGenTypes::arrangeCXXMethodType(clang::CXXRecordDecl const*, clang::FunctionProtoType const*, clang::CXXMethodDecl const*) /home/werat/src/llvm-project/clang/lib/CodeGen/CGCall.cpp:272:10
- #118 0x00007faf84ff726c clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:5293:39
- #119 0x00007faf84ff056f clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:0:9
- #120 0x00007faf84ff45da clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:0:5
- #121 0x00007faf84fef286 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /home/werat/src/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:6181:5
- #122 0x00007faf84fdcedf (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /home/werat/src/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:188:73
- #123 0x00007faf84f1cb86 lldb_private::ASTResultSynthesizer::HandleTopLevelDecl(clang::DeclGroupRef) /home/werat/src/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp:0:27
- #124 0x00007faf85b23c89 clang::ParseAST(clang::Sema&, bool, bool) /home/werat/src/llvm-project/clang/lib/Parse/ParseAST.cpp:166:11
- #125 0x00007faf84ee7d8b llvm::CrashRecoveryContextCleanupRegistrar<clang::Sema, llvm::CrashRecoveryContextDeleteCleanup<clang::Sema>>::unregister() /home/werat/src/llvm-project/llvm/include/llvm/Support/CrashRecoveryContext.h:265:9
- #126 0x00007faf84ee7d8b llvm::CrashRecoveryContextCleanupRegistrar<clang::Sema, llvm::CrashRecoveryContextDeleteCleanup<clang::Sema>>::~CrashRecoveryContextCleanupRegistrar() /home/werat/src/llvm-project/llvm/include/llvm/Support/CrashRecoveryContext.h:262:45
- #127 0x00007faf84ee7d8b lldb_private::ClangExpressionParser::ParseInternal(lldb_private::DiagnosticManager&, clang::CodeCompleteConsumer*, unsigned int, unsigned int) /home/werat/src/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp:1177:3
- #128 0x00007faf84f181b8 lldb_private::ClangUserExpression::TryParse(lldb_private::DiagnosticManager&, lldb_private::ExecutionContextScope*, lldb_private::ExecutionContext&, lldb_private::ExecutionPolicy, bool, bool) /home/werat/src/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp:584:7
- #129 0x00007faf84f188e8 lldb_private::ClangUserExpression::Parse(lldb_private::DiagnosticManager&, lldb_private::ExecutionContext&, lldb_private::ExecutionPolicy, bool, bool) /home/werat/src/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp:684:22
- #130 0x00007faf8419b937 lldb_private::UserExpression::Evaluate(lldb_private::ExecutionContext&, lldb_private::EvaluateExpressionOptions const&, llvm::StringRef, llvm::StringRef, std::shared_ptr<lldb_private::ValueObject>&, lldb_private::Status&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, lldb_private::ValueObject*) /home/werat/src/llvm-project/lldb/source/Expression/UserExpression.cpp:271:27
- #131 0x00007faf842c5759 lldb_private::Target::EvaluateExpression(llvm::StringRef, lldb_private::ExecutionContextScope*, std::shared_ptr<lldb_private::ValueObject>&, lldb_private::EvaluateExpressionOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, lldb_private::ValueObject*) /home/werat/src/llvm-project/lldb/source/Target/Target.cpp:2521:25
- #132 0x00007faf84e024cf lldb_private::CommandObjectExpression::EvaluateExpression(llvm::StringRef, lldb_private::Stream&, lldb_private::Stream&, lldb_private::CommandReturnObject&) /home/werat/src/llvm-project/lldb/source/Commands/CommandObjectExpression.cpp:402:38
- #133 0x00007faf84e032c1 lldb_private::CommandObjectExpression::DoExecute(llvm::StringRef, lldb_private::CommandReturnObject&) /home/werat/src/llvm-project/lldb/source/Commands/CommandObjectExpression.cpp:626:7
- #134 0x00007faf841df8e4 lldb_private::CommandObjectRaw::Execute(char const*, lldb_private::CommandReturnObject&) /home/werat/src/llvm-project/lldb/source/Interpreter/CommandObject.cpp:769:17
- #135 0x00007faf841d19e6 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_data() const /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:234:28
- #136 0x00007faf841d19e6 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_is_local() const /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:274:16
- #137 0x00007faf841d19e6 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_dispose() /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:285:7
- #138 0x00007faf841d19e6 std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::~basic_string() /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:795:9
- #139 0x00007faf841d19e6 lldb_private::CommandInterpreter::HandleCommand(char const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&) /home/werat/src/llvm-project/lldb/source/Interpreter/CommandInterpreter.cpp:1989:3
- #140 0x00007faf841d532d lldb_private::CommandInterpreter::IOHandlerInputComplete(lldb_private::IOHandler&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) /home/werat/src/llvm-project/lldb/source/Interpreter/CommandInterpreter.cpp:3065:15
- #141 0x00007faf841234ca lldb_private::IOHandlerEditline::Run() /home/werat/src/llvm-project/lldb/source/Core/IOHandler.cpp:0:22
- #142 0x00007faf84103f34 __gthread_mutex_lock(pthread_mutex_t*) /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/gthr-default.h:748:7
- #143 0x00007faf84103f34 __gthread_recursive_mutex_lock(pthread_mutex_t*) /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/x86_64-linux-gnu/c++/12/bits/gthr-default.h:811:10
- #144 0x00007faf84103f34 std::recursive_mutex::lock() /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/mutex:108:17
- #145 0x00007faf84103f34 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/std_mutex.h:229:19
- #146 0x00007faf84103f34 lldb_private::Debugger::RunIOHandlers() /home/werat/src/llvm-project/lldb/source/Core/Debugger.cpp:1026:45
- #147 0x00007faf841d6bbf lldb_private::CommandInterpreterRunOptions::DefaultToYes(lldb_private::LazyBool) /home/werat/src/llvm-project/lldb/include/lldb/Interpreter/CommandInterpreter.h:196:5
- #148 0x00007faf841d6bbf lldb_private::CommandInterpreterRunOptions::GetAutoHandleEvents() const /home/werat/src/llvm-project/lldb/include/lldb/Interpreter/CommandInterpreter.h:170:12
- #149 0x00007faf841d6bbf lldb_private::CommandInterpreter::RunCommandInterpreter(lldb_private::CommandInterpreterRunOptions&) /home/werat/src/llvm-project/lldb/source/Interpreter/CommandInterpreter.cpp:3314:17
- #150 0x00007faf83f431c1 lldb::SBDebugger::RunCommandInterpreter(bool, bool) /home/werat/src/llvm-project/lldb/source/API/SBDebugger.cpp:0:42
- #151 0x0000556de819ac2a reset_stdin_termios() /home/werat/src/llvm-project/lldb/tools/driver/Driver.cpp:96:7
- #152 0x0000556de819ac2a Driver::MainLoop() /home/werat/src/llvm-project/lldb/tools/driver/Driver.cpp:638:3
- #153 0x0000556de819b953 main /home/werat/src/llvm-project/lldb/tools/driver/Driver.cpp:851:26
- #154 0x00007faf817bb81d __libc_start_main ./csu/../csu/libc-start.c:332:16
- #155 0x0000556de8197dea _start (/home/werat/src/llvm-project/build_optdebug/bin/lldb+0x15dea)
- zsh: IOT instruction ~/src/llvm-project/build_optdebug/bin/lldb -- -cc1 -x c++ ~/tmp/main.cc
Add Comment
Please, Sign In to add comment