Skip to content
  • Ben Gamari's avatar
    Debug: Use local symbols for unwind points (#13278) · 2d6e91ea
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    While this apparently didn't matter on Linux, the OS X toolchain seems
    to treat local and external symbols differently during linking. Namely,
    the linker assumes that an external symbol marks the beginning of a new,
    unused procedure, and consequently drops it.
    
    Fixes regression introduced in D2741.
    
    Test Plan: `debug` testcase on OS X
    
    Reviewers: austin, simonmar, rwbarton
    
    Reviewed By: rwbarton
    
    Subscribers: rwbarton, thomie
    
    Differential Revision: https://phabricator.haskell.org/D3135
    2d6e91ea