<p><span class="h-card" translate="no"><a href="https://mastodon.social/@mcc" class="u-url mention">@<span>mcc</span></a></span> LLVM libunwind implements them as normal extern functions <a href="https://github.com/llvm/llvm-project/blob/main/libunwind/include/libunwind.h#L109-L116" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/llvm/llvm-project/b</span><span class="invisible">lob/main/libunwind/include/libunwind.h#L109-L116</span></a></p><p>to implement them it defines e.g. __unw_step (that it uses internally in its own implementation), hides that, and then adds a weak alias from unw_step to __unw_step so that it doesn&#39;t conflict with other stuff that may be on your system</p>
Reply