Skip to content

Removing the no-omit-frame-pointer LLVM option breaks Mac stack traces #8833

Closed
@catamorphism

Description

@catamorphism

I was getting gdb backtraces (on Mac OS X) that were only two frames long, when they shouldn't have been. @brson suggested that I try reverting 0ac02e7 , @thestinger 's commit that eliminates the no-omit-frame-pointer option. When I reverted everything including and after this commit, I was able to get correct backtraces again.

I don't understand this area well enough to say more, but @brson thought that if this was breaking Mac stack traces, the patch should be reverted for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.O-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions