Skip to content

Epilog debug location should be end of block #67

@ramonasuncion

Description

@ramonasuncion

Returning from the last function call into the upper scope leaves gdb pointing at the last statement in the block, even if that statement's in a branch that wasn't executed. The debug location for the return should point at the end of the body block instead, like gcc and clang do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompilerCompiler internals, codegen, type systemdebug-infoDebug information and -g flag

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions