Skip to content

Incorrect debug info generated for swiftCore #81988

Open
@compnerd

Description

@compnerd

Description

When trying to inspect a parameter, the DWARF seems incomplete.

(lldb) v value
(T) value = <could not evaluate DW_OP_entry_value: no call edge for retn-pc = 0x7ff6f223d7d6 in parent frame Swift._print_unlocked<τ_0_0, τ_0_1 where τ_0_1: Swift.TextOutputStream>(τ_0_0, inout τ_0_1) -> ()>

Reproduction

Try to inspect value in _adHocPrint_unlocked in the standard library.

Expected behavior

To print the value

Environment

Swift version 6.2-dev (LLVM 78f6e5fce7642cb, Swift 270ffa6855ecd96)
Target: x86_64-unknown-windows-msvc

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.debug infoArea → compiler → IRGen: Debug information emissiontriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    Status

    TODO

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions