swift-server / swift-backtrace

💥 Backtraces for Swift on Linux and Windows
Apache License 2.0
295 stars 35 forks source link

[Partial] macOS Support #38

Closed GeorgeLyon closed 3 years ago

GeorgeLyon commented 3 years ago

Though I haven't cleaned it up yet, backtrace printing works when manually calling print() (though libunwind doesn't seem to give file names or line numbers). Unfortunately, naively translating the signal handling code to macOS didn't seem to work (the backtrace printing logic doesn't seem to be called). I might revisit this in the future, but I wouldn't mind if someone who understands signal handling better than me was interested in picking up the baton.

13

swift-server-bot commented 3 years ago

Can one of the admins verify this patch?

swift-server-bot commented 3 years ago

Can one of the admins verify this patch?

swift-server-bot commented 3 years ago

Can one of the admins verify this patch?

swift-server-bot commented 3 years ago

Can one of the admins verify this patch?

swift-server-bot commented 3 years ago

Can one of the admins verify this patch?