最終更新:2019-11-08 (金) 17:14:49 (1624d)
名前マングル
Top / 名前マングル
メモ
- C++は関数のオーバーロードができるので関数名だけだとどの関数か同定できない
- マングルの方法はコンパイラ依存
ヘッダファイル
- __cplusplus
#ifdef __cplusplus extern "C" { #endif C言語からも使いたい関数 #ifdef __cplusplus } #endif
デマングル
nm foo.o | c++filt