News for hackers. Stuff that matters.
Re:On libunwind and dynamically generated code on x86-64 by ziotom78 on Tuesday April 12, 2016 @04:13AM (#11477932)
A few months ago I tried to port the "supposedly portable" libunwind to OpenBSD, as a part of an effort to port Julia under OpenBSD. I failed miserably, as I found the task was too complex for my abilities (see this post of mine: https://groups.google.com/forum/#!topic/julia-dev/ndzuU9NixK...).

At that time, I blamed myself for not having been able to understand libunwind's code. I confess that this post has changed a bit my perspective.

Re:On libunwind and dynamically generated code on x86-64 by KenoFischer on Tuesday April 12, 2016 @04:47AM (#11478055)
If you ever pick this up again, I'd recommend starting with llvm's libunwind library, which is an import of Apple's libunwind + support for other operating systems. As far as I can tell it's the only fully functional unwind library that's actually maintained at the moment. We discussed porting whatever functionality it is missing (probably linux support and the basic assembly profiling heuristics we added to our fork of Apple's libunwind) and just using it for julia on all platforms.