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… #7995

Merged
merged 1 commit into from
Jan 18, 2024

Commits on Jan 18, 2024

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

    llvm#77157)
    
    …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
    (cherry picked from commit fa92845)
    adrian-prantl committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    6c8d23e View commit details
    Browse the repository at this point in the history