Skip to content

Instantly share code, notes, and snippets.

@mati865
Last active January 18, 2017 09:48
Show Gist options
  • Save mati865/71df5e10f0b908d240cea76efdb6faca to your computer and use it in GitHub Desktop.
Save mati865/71df5e10f0b908d240cea76efdb6faca to your computer and use it in GitHub Desktop.
#GCC
nm /d/projekty/msys2/clang/testing/yumetodo-tls_test-69e560d1c0b3/TLS_test/build/CMakeFiles/TLS_test.dir/a.cpp.obj
0000000000000000 b .bss
0000000000000000 d .data
0000000000000000 p .pdata
0000000000000000 r .rdata$zzz
0000000000000000 t .text
0000000000000000 r .xdata
U __emutls_get_address
0000000000000020 d __emutls_v.__tls_guard
0000000000000000 D __emutls_v._ZN4Test2mtE
U __gxx_personality_seh0
0000000000000000 t __tls_init
U _Unwind_Resume
U _ZdlPv
U _ZNSt13random_device14_M_init_pretr1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
U _ZNSt13random_device16_M_getval_pretr1Ev
0000000000000000 T _ZTHN4Test2mtE
$ nm /d/projekty/msys2/clang/testing/yumetodo-tls_test-69e560d1c0b3/TLS_test/build/CMakeFiles/TLS_test.dir/main.cpp.obj
0000000000000000 b .bss
0000000000000000 d .ctors
0000000000000000 d .data
0000000000000000 p .pdata
0000000000000000 p .pdata$_ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18ELj1812433 253EEclEv
0000000000000000 p .pdata.startup
0000000000000000 r .rdata
0000000000000000 r .rdata$.refptr.__emutls_v._ZN4Test2mtE
0000000000000000 r .rdata$.refptr._ZSt4cout
0000000000000000 r .rdata$zzz
0000000000000000 R .refptr.__emutls_v._ZN4Test2mtE
0000000000000000 R .refptr._ZSt4cout
0000000000000000 t .text
0000000000000000 t .text$_ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18ELj18124332 53EEclEv
0000000000000000 t .text.startup
0000000000000000 r .xdata
0000000000000000 r .xdata$_ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18ELj1812433 253EEclEv
0000000000000000 r .xdata.startup
U __emutls_get_address
U __emutls_v._ZN4Test2mtE
U __main
0000000000000000 t __tcf_0
0000000000000040 t _GLOBAL__sub_I_main
U _ZNSo9_M_insertImEERSoT_
0000000000000000 T _ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18ELj1812433253EEcl Ev
U _ZNSt8ios_base4InitC1Ev
U _ZNSt8ios_base4InitD1Ev
U _ZSt4cout
U _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
0000000000000000 b _ZStL8__ioinit
U atexit
0000000000000000 T main
#Clang
$ nm /d/projekty/msys2/clang/testing/yumetodo-tls_test-69e560d1c0b3/TLS_test/build/CMakeFiles/TLS_test.dir/a.cpp.obj
0000000000000000 b .bss
0000000000000000 d .data
0000000000000000 p .pdata
0000000000000000 r .rdata
0000000000000000 t .text
0000000000000000 r .xdata
U __emutls_get_address
0000000000000020 d __emutls_v.__tls_guard
0000000000000000 D __emutls_v._ZN4Test2mtE
U __gxx_personality_seh0
U _Unwind_Resume
U _ZdlPv
U _ZNSt13random_device14_M_init_pretr1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
U _ZNSt13random_device16_M_getval_pretr1Ev
0000000000000000 T _ZTHN4Test2mtE
0000000000000170 T _ZTWN4Test2mtE
0000000000000018 r GCC_except_table0
0000000000000000 r L.str
$ nm /d/projekty/msys2/clang/testing/yumetodo-tls_test-69e560d1c0b3/TLS_test/build/CMakeFiles/TLS_test.dir/main.cpp.obj
0000000000000000 b .bss
0000000000000000 d .ctors
0000000000000000 d .data
0000000000000000 p .pdata
0000000000000000 t .text
0000000000000000 A .weak._ZTHN4Test2mtE.default
0000000000000000 r .xdata
0000000000000000 t __dtor__ZStL8__ioinit
U __emutls_get_address
U __emutls_v._ZN4Test2mtE
U __main
0000000000000240 t _GLOBAL__sub_I_main.cpp
U _ZNKSt5ctypeIcE13_M_widen_initEv
U _ZNSo3putEc
U _ZNSo5flushEv
U _ZNSo9_M_insertImEERSoT_
U _ZNSt8ios_base4InitC1Ev
U _ZNSt8ios_base4InitD1Ev
U _ZSt16__throw_bad_castv
U _ZSt4cout
0000000000000000 b _ZStL8__ioinit
w _ZTHN4Test2mtE
0000000000000210 T _ZTWN4Test2mtE
U atexit
0000000000000010 T main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment