-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLDB typedefs are too lazy #91186
Comments
The implementation is straight-forward, but comes with a big disclaimer. See llvm#91186 for details.
@llvm/issue-subscribers-lldb Author: Pavel Labath (labath)
```
$ cat /tmp/a.cc
struct X {
typedef int InX;
};
X a; int main() {
|
This happens because lldb does not construct the clang ast type (only lldb_private::Type) when parsing the dwarf. The clang ast is contructed only when something references the lldb_private::Type -- which can sometimes be too late. Also see #90958 for another issue with lazy typedef parsing (however, unlike this issue, I know how to work around the other one).
The text was updated successfully, but these errors were encountered: