Skip to content
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] DWARFDIE: Follow DW_AT_specification when computing CompilerCo… #77157

Merged
merged 1 commit into from Jan 9, 2024

Commits on Jan 8, 2024

  1. [lldb] DWARFDIE: Follow DW_AT_specification when computing CompilerCo…

    …ntext
    
    Following the specification chain seems to be clearly the expected
    behavior of GetDeclContext(). Otherwise C++ methods have an empty
    CompilerContext instead of being nested in their struct/class.
    
    Theprimary motivation for this functionality is the Swift plugin. In
    order to test the change I added a proof-of-concept implementation of
    a Module::FindFunction() variant that takes a CompilerContext, expesed
    via lldb-test.
    
    rdar://120553412
    adrian-prantl committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    5f34a10 View commit details
    Browse the repository at this point in the history