Skip to content
This repository was archived by the owner on Sep 11, 2026. It is now read-only.
This repository was archived by the owner on Sep 11, 2026. It is now read-only.

Epilog debug location should be end of block #67

Open

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.

Activity

  1. added
    bugSomething isn't working
    compilerCompiler internals, codegen, type system
    debug-infoDebug information and -g flag
    on May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions