Test case stack_unwinding01.cpp crashed in Debug build of lldb on Windows due to access specifier not set for function decl.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
D85993 was trying to do the same thing and contains some explanation why I think this isn't a good solution. TL;DR is that functions in a record should call TypeSystemClang::AddMethodToCXXRecordType instead. Moving the isRecord check you add here to the PDB parser code and then calling AddMethodToCXXRecordType depending on whether the check is true/false is one way to fix this properly.