[英]Is libunwind implementation of abi in libcxxabi?
當我意識到我實際上並不了解它們扮演的角色時,我試圖構建libcxx
/ libcxxabi
/ libunwind
。
我檢查了libcxxabi spci ,發現它定義了C ++異常中使用的API。 但是我找不到關於libunwind
任何文檔,谷歌發現一個博客( libc ++ abi中的新libunwind實現 )說libunwind
是libcxxabi
的實現。
那么,是libunwind
真的很喜歡,實現ABI在libcxxabi
,如果是這樣,為什么我們有libcxxabi
?
我自己構建了libunwind
並使用nm
檢查了libunwind
的符號,並得到了以下內容:
nm: libunwind.cpp.o: File format not recognized
nm: Unwind-EHABI.cpp.o: File format not recognized
nm: UnwindLevel1.c.o: File format not recognized
nm: UnwindLevel1-gcc-ext.c.o: File format not recognized
nm: Unwind-sjlj.c.o: File format not recognized
UnwindRegistersRestore.S.o:
0000000000000000 T _ZN9libunwind16Registers_x86_646jumptoEv
UnwindRegistersSave.S.o:
0000000000000000 T unw_getcontext
這似乎意味着libunwind
僅實現了unwind函數,僅此而已。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.