Skip to content

CFI directives missing on __rust_probestack #325

Closed
@tmandry

Description

@tmandry

#306 added frame pointers so that backtraces would be available from failed stack probes. Unfortunately, this does not work in build configurations which use DWARF/CFI information for unwinding. (On Fuchsia we use this exclusively, but it's an option on other platforms as well.)

The way of enabling backtraces on these platforms is to use CFI directives, like #305 did. Unfortunately, that implementation was messier due to needing external assembly files. Still, it's the only way to get full backtrace information in DWARF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions