Apple Open-Sources Its Unwinder For LLVM

Written by Michael Larabel in LLVM on 11 October 2013 at 06:21 PM EDT. 10 Comments
LLVM
Earlier this week there was the news of Intel contributing their OpenMP Runtime to LLVM in order to advance the open-source compiler project. Now to end off the week is news that Apple, who continues to invest significantly into LLVM and employs many of the key contributors, has open-sourced their stack unwinder for the project.

While most platforms provide a system unwinder for stacks, Apple is contributing to LLVM their unwinder implementation developed for OS X and iOS. This work will go into the libcxxabi project to make it easier to port Clang C++ compiler support to new platforms. For those unfamiliar with stack unwinding, see the information available on lubunwind's man page.

Apple's unwind code uses the same low-level APIs for the unwind functions but do not share code with the old libunwind. Apple pushed their unwinder code into the LLVM libcxxabi sub-project and is under the LLVM and MIT licenses.

More information on LLVM's new unwinder can be found by this LLVM.org blog post, the libcxxabi project page, and the Git commit adding the unwinder.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week