为什么我的共享库中存在展开符号(symbols in unwind)

当我阅读符号时,包含大量展开符号的列表如下。

当我阅读符号时,包含大量展开符号的列表如下。

23:001e0c48 36 FUNC GLOBAL DEFAULT 13_Unwind_Resume

5998:00000000 0 FUNC 弱默认值 UND__gnu_Unwind_Find_exidx

5999:001e0b54 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Restore_VFP_D

6000:001e0b44 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Restore_VFP

6001:001e0b64 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Restore_VFP_D_16_to_31

6002:001e0b74 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Restore_WMMXD

6003:001e0bfc 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Restore_WMMXC

6005:001e0080 8 FUNC GLOBAL DEFAULT 13_Unwind_GetCFA

6006:001e0088 164 FUNC GLOBAL DEFAULT 13__gnu_Unwind_RaiseException

6007:001e012c 28 FUNC GLOBAL DEFAULT 13__gnu_Unwind_ForcedUnwind

6008:001e0148 116 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Resume

6009:001e01bc 32 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Resume_or_Rethrow

6010:001e01dc 4 FUNC GLOBAL DEFAULT 13_Unwind_Complete

6011:001e01e0 24 FUNC GLOBAL DEFAULT 13_Unwind_DeleteException

6012:001e01f8 92 FUNC GLOBAL DEFAULT 13_Unwind_VRS_Get

6013:001e027c 92 FUNC GLOBAL DEFAULT 13_Unwind_VRS_Set

6014:001e0304 200 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Backtrace

6018:001e07d0 864 FUNC GLOBAL DEFAULT 13_Unwind_VRS_Pop

6019:001e0b5c 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Save_VFP_D

6020:001e0b4c 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Save_VFP

6021:001e0b6c 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Save_VFP_D_16_to_31

6022:001e0bb8 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Save_WMMXD

6023:001e0c10 0 FUNC GLOBAL DEFAULT 13__gnu_Unwind_Save_WMMXC

6025:001e0c24 36 FUNC GLOBAL DEFAULT 13___Unwind_RaiseException

6026:001e0c24 36 FUNC GLOBAL DEFAULT 13_Unwind_RaiseException

6027:001e0c48 36 FUNC GLOBAL DEFAULT 13___Unwind_Resume

6028:001e0c6c 36 FUNC GLOBAL DEFAULT 13___Unwind_Resume_or_Rethrow

6029:001e0c6c 36 FUNC GLOBAL DEFAULT 13_Unwind_Resume_or_Rethrow

6030:001e0c90 36 FUNC GLOBAL DEFAULT 13___Unwind_ForcedUnwind

6031:001e0c90 36 FUNC GLOBAL DEFAULT 13_Unwind_ForcedUnwind

6032:001e0cb4 36 FUNC GLOBAL DEFAULT 13___Unwind_Backtrace

6033:001e0cb4 36 FUNC GLOBAL DEFAULT 13_Unwind_Backtrace

6035:001e113c 16 FUNC GLOBAL DEFAULT 13_Unwind_GetRegionStart

6036:001e114c 28 FUNC GLOBAL DEFAULT 13_Unwind_GetLanguageSpecificData

6037:001e1168 8 FUNC GLOBAL DEFAULT 13_Unwind_GetDataRelBase

6038:001e1170 8 FUNC GLOBAL DEFAULT 13_Unwind_GetTextRelBase

我检查了库的源代码,但找不到这些符号的引用。我猜,在编译源文件或链接到库中时,他们可能使用了一些标志来生成这些符号。

任何想法哪个 clang ++ 标志用于生成这些符号?

1

我会说这是异常处理,如果你不使用异常,你可以编译-fno-exceptions

seehttps://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/libgcc-sman.html

本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处

(942)
日志记录、 StreamHandler和标准流
上一篇
Regex向前看 向后看和原子团
下一篇

相关推荐

发表评论

登录 后才能评论

评论列表(83条)