Guest User

Untitled

a guest
Nov 12th, 2025
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.89 KB | None | 0 0
  1. root@1f7228810980:/# clang++ -v
  2. clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
  3. Target: aarch64-unknown-linux-gnu
  4. Thread model: posix
  5. InstalledDir: /usr/local/bin
  6. Found candidate GCC installation: /usr/lib/gcc/aarch64-linux-gnu/14
  7. Selected GCC installation: /usr/lib/gcc/aarch64-linux-gnu/14
  8. Candidate multilib: .;@m64
  9. Selected multilib: .;@m64
  10. root@1f7228810980:/# cat a.cpp
  11. int main() {
  12. return 42;
  13. }
  14. root@1f7228810980:/# cat b.cpp
  15. #include <memory>
  16.  
  17. int main() {
  18. auto p = std::make_shared<int>(42);
  19. return *p;
  20. }
  21. root@1f7228810980:/# clang++ -O2 -static a.cpp -o a
  22. root@1f7228810980:/# clang++ -O2 -static b.cpp -o b
  23. root@1f7228810980:/# ls -la a
  24. -rwxr-xr-x 1 root root 647872 Nov 12 19:20 a
  25. root@1f7228810980:/# ls -la b
  26. -rwxr-xr-x 1 root root 746160 Nov 12 19:20 b
  27. root@1f7228810980:/# nm a | cut -f3- -d' ' > aa
  28. root@1f7228810980:/# nm b | cut -f3- -d' ' > bb
  29. root@1f7228810980:/# diff -upd aa bb
  30. --- aa 2025-11-12 19:21:19.847057150 +0000
  31. +++ bb 2025-11-12 19:21:25.964845212 +0000
  32. @@ -2,9 +2,12 @@
  33. .LANCHOR0
  34. .LANCHOR3
  35. .LANCHOR4
  36. +DW.ref._ZTISt9exception
  37. DW.ref.__gcc_personality_v0
  38. +DW.ref.__gxx_personality_v0
  39. _.stapsdt.base
  40. _Exit
  41. +_GLOBAL__sub_I_eh_alloc.cc
  42. _IO_2_1_stderr_
  43. _IO_2_1_stdin_
  44. _IO_2_1_stdout_
  45. @@ -148,6 +151,7 @@ _IO_un_link
  46. _IO_un_link.part.0
  47. _IO_unsave_markers
  48. _IO_unsave_wmarkers
  49. +_IO_vsprintf
  50. _IO_vtable_check
  51. _IO_wdefault_doallocate
  52. _IO_wdefault_finish
  53. @@ -201,6 +205,136 @@ _Unwind_Resume
  54. _Unwind_Resume_or_Rethrow
  55. _Unwind_SetGR
  56. _Unwind_SetIP
  57. +_ZGTtNKSt13bad_exception4whatEv
  58. +_ZGTtNKSt13bad_exceptionD1Ev
  59. +_ZGTtNKSt9exception4whatEv
  60. +_ZGTtNKSt9exceptionD1Ev
  61. +_ZL16get_adjusted_ptrPKSt9type_infoS1_PPv
  62. +_ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info
  63. +_ZL20check_exception_specP16lsda_header_infoPKSt9type_infoPvl
  64. +_ZL21base_of_encoded_valuehP15_Unwind_Context
  65. +_ZL23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception
  66. +_ZL28read_encoded_value_with_basehmPKhPm
  67. +_ZN10__cxxabiv111__terminateEPFvvE
  68. +_ZN10__cxxabiv112__unexpectedEPFvvE
  69. +_ZN10__cxxabiv115__forced_unwindD0Ev
  70. +_ZN10__cxxabiv115__forced_unwindD1Ev
  71. +_ZN10__cxxabiv115__forced_unwindD2Ev
  72. +_ZN10__cxxabiv117__class_type_infoD0Ev
  73. +_ZN10__cxxabiv117__class_type_infoD1Ev
  74. +_ZN10__cxxabiv117__class_type_infoD2Ev
  75. +_ZN10__cxxabiv119__foreign_exceptionD0Ev
  76. +_ZN10__cxxabiv119__foreign_exceptionD1Ev
  77. +_ZN10__cxxabiv119__foreign_exceptionD2Ev
  78. +_ZN10__cxxabiv119__terminate_handlerE
  79. +_ZN10__cxxabiv120__si_class_type_infoD0Ev
  80. +_ZN10__cxxabiv120__si_class_type_infoD1Ev
  81. +_ZN10__cxxabiv120__si_class_type_infoD2Ev
  82. +_ZN10__cxxabiv120__unexpected_handlerE
  83. +_ZN12_GLOBAL__N_113__new_handlerE
  84. +_ZN12_GLOBAL__N_114emergency_poolE
  85. +_ZN12_GLOBAL__N_14pool4freeEPv.constprop.0
  86. +_ZN12_GLOBAL__N_14pool8allocateEm.constprop.0
  87. +_ZN9__gnu_cxx24__concurrence_lock_errorD0Ev
  88. +_ZN9__gnu_cxx24__concurrence_lock_errorD1Ev
  89. +_ZN9__gnu_cxx24__concurrence_lock_errorD2Ev
  90. +_ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev
  91. +_ZN9__gnu_cxx26__concurrence_unlock_errorD1Ev
  92. +_ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev
  93. +_ZN9__gnu_cxx27__verbose_terminate_handlerEv
  94. +_ZN9__gnu_cxx30__throw_concurrence_lock_errorEv
  95. +_ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv
  96. +_ZN9__gnu_cxx9__freeresEv
  97. +_ZNK10__cxxabiv117__class_type_info10__do_catchEPKSt9type_infoPPvj
  98. +_ZNK10__cxxabiv117__class_type_info11__do_upcastEPKS0_PKvRNS0_15__upcast_resultE
  99. +_ZNK10__cxxabiv117__class_type_info11__do_upcastEPKS0_PPv
  100. +_ZNK10__cxxabiv117__class_type_info12__do_dyncastElNS0_10__sub_kindEPKS0_PKvS3_S5_RNS0_16__dyncast_resultE
  101. +_ZNK10__cxxabiv117__class_type_info20__do_find_public_srcElPKvPKS0_S2_
  102. +_ZNK10__cxxabiv120__si_class_type_info11__do_upcastEPKNS_17__class_type_infoEPKvRNS1_15__upcast_resultE
  103. +_ZNK10__cxxabiv120__si_class_type_info12__do_dyncastElNS_17__class_type_info10__sub_kindEPKS1_PKvS4_S6_RNS1_16__dyncast_resultE
  104. +_ZNK10__cxxabiv120__si_class_type_info20__do_find_public_srcElPKvPKNS_17__class_type_infoES2_
  105. +_ZNK9__gnu_cxx24__concurrence_lock_error4whatEv
  106. +_ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv
  107. +_ZNKSt13bad_exception4whatEv
  108. +_ZNKSt9bad_alloc4whatEv
  109. +_ZNKSt9exception4whatEv
  110. +_ZNKSt9type_info10__do_catchEPKS_PPvj
  111. +_ZNKSt9type_info11__do_upcastEPKN10__cxxabiv117__class_type_infoEPPv
  112. +_ZNKSt9type_info14__is_pointer_pEv
  113. +_ZNKSt9type_info15__is_function_pEv
  114. +_ZNSt13bad_exceptionD0Ev
  115. +_ZNSt13bad_exceptionD1Ev
  116. +_ZNSt13bad_exceptionD2Ev
  117. +_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
  118. +_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
  119. +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
  120. +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
  121. +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
  122. +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
  123. +_ZNSt9bad_allocD0Ev
  124. +_ZNSt9bad_allocD1Ev
  125. +_ZNSt9bad_allocD2Ev
  126. +_ZNSt9exceptionD0Ev
  127. +_ZNSt9exceptionD1Ev
  128. +_ZNSt9exceptionD2Ev
  129. +_ZNSt9type_infoD0Ev
  130. +_ZNSt9type_infoD1Ev
  131. +_ZNSt9type_infoD2Ev
  132. +_ZSt10unexpectedv
  133. +_ZSt13get_terminatev
  134. +_ZSt13set_terminatePFvvE
  135. +_ZSt14get_unexpectedv
  136. +_ZSt14set_unexpectedPFvvE
  137. +_ZSt15get_new_handlerv
  138. +_ZSt15set_new_handlerPFvvE
  139. +_ZSt18uncaught_exceptionv
  140. +_ZSt19uncaught_exceptionsv
  141. +_ZSt7nothrow
  142. +_ZSt9terminatev
  143. +_ZTIN10__cxxabiv115__forced_unwindE
  144. +_ZTIN10__cxxabiv117__class_type_infoE
  145. +_ZTIN10__cxxabiv119__foreign_exceptionE
  146. +_ZTIN10__cxxabiv120__si_class_type_infoE
  147. +_ZTIN9__gnu_cxx24__concurrence_lock_errorE
  148. +_ZTIN9__gnu_cxx26__concurrence_unlock_errorE
  149. +_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
  150. +_ZTISt13bad_exception
  151. +_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
  152. +_ZTISt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE
  153. +_ZTISt9bad_alloc
  154. +_ZTISt9exception
  155. +_ZTISt9type_info
  156. +_ZTSN10__cxxabiv115__forced_unwindE
  157. +_ZTSN10__cxxabiv117__class_type_infoE
  158. +_ZTSN10__cxxabiv119__foreign_exceptionE
  159. +_ZTSN10__cxxabiv120__si_class_type_infoE
  160. +_ZTSN9__gnu_cxx24__concurrence_lock_errorE
  161. +_ZTSN9__gnu_cxx26__concurrence_unlock_errorE
  162. +_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
  163. +_ZTSSt13bad_exception
  164. +_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
  165. +_ZTSSt19_Sp_make_shared_tag
  166. +_ZTSSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE
  167. +_ZTSSt9bad_alloc
  168. +_ZTSSt9exception
  169. +_ZTSSt9type_info
  170. +_ZTVN10__cxxabiv115__forced_unwindE
  171. +_ZTVN10__cxxabiv117__class_type_infoE
  172. +_ZTVN10__cxxabiv119__foreign_exceptionE
  173. +_ZTVN10__cxxabiv120__si_class_type_infoE
  174. +_ZTVN9__gnu_cxx24__concurrence_lock_errorE
  175. +_ZTVN9__gnu_cxx26__concurrence_unlock_errorE
  176. +_ZTVSt13bad_exception
  177. +_ZTVSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE
  178. +_ZTVSt9bad_alloc
  179. +_ZTVSt9exception
  180. +_ZTVSt9type_info
  181. +_ZZN12_GLOBAL__N_110get_globalEvE6global
  182. +_ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating
  183. +_ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag
  184. +_ZdlPv
  185. +_ZdlPvm
  186. +_Znwm
  187. __EH_FRAME_BEGIN__
  188. __FRAME_END__
  189. __GI___fstatat
  190. @@ -356,6 +490,7 @@ ___pthread_rwlock_init
  191. ___pthread_rwlock_rdlock
  192. ___pthread_rwlock_unlock
  193. ___pthread_rwlock_wrlock
  194. +___sprintf_chk
  195. ___vsnprintf
  196. __aarch64_cas4_acq
  197. __aarch64_cas4_rel
  198. @@ -366,6 +501,7 @@ __aarch64_cas8_rel
  199. __aarch64_have_lse_atomics
  200. __aarch64_have_sme
  201. __aarch64_ldadd4_acq
  202. +__aarch64_ldadd4_acq_rel
  203. __aarch64_ldadd4_rel
  204. __aarch64_ldadd4_relax
  205. __aarch64_ldadd8_acq
  206. @@ -417,7 +553,24 @@ __ctype_tolower_loc
  207. __ctype_toupper_loc
  208. __curbrk
  209. __current_locale_name
  210. +__cxa_allocate_dependent_exception
  211. +__cxa_allocate_exception
  212. __cxa_atexit
  213. +__cxa_begin_catch
  214. +__cxa_call_terminate
  215. +__cxa_call_unexpected
  216. +__cxa_current_exception_type
  217. +__cxa_demangle
  218. +__cxa_end_catch
  219. +__cxa_free_dependent_exception
  220. +__cxa_free_exception
  221. +__cxa_get_exception_ptr
  222. +__cxa_get_globals
  223. +__cxa_get_globals_fast
  224. +__cxa_init_primary_exception
  225. + w __cxa_pure_virtual
  226. +__cxa_rethrow
  227. +__cxa_throw
  228. __data_start
  229. __dcgettext
  230. __dcigettext
  231. @@ -470,6 +623,7 @@ __futex_abstimed_wait64
  232. __futex_abstimed_wait_cancelable64
  233. __futex_lock_pi64
  234. __gcc_personality_v0
  235. +__gcclibcxx_demangle_callback
  236. __gconv
  237. __gconv_alias_compare
  238. __gconv_alias_db
  239. @@ -546,6 +700,7 @@ __glibc_morecore
  240. __grouping_iterator_init
  241. __grouping_iterator_init_none
  242. __grouping_iterator_next
  243. +__gxx_personality_v0
  244. __handle_registered_modifier_mb
  245. __handle_registered_modifier_wc
  246. __hash_string
  247. @@ -618,6 +773,7 @@ __libc_reg_printf_freemem_ptr
  248. __libc_reg_type_freemem_ptr
  249. __libc_scratch_buffer_grow_preserve
  250. __libc_scratch_buffer_set_array_size
  251. +__libc_secure_getenv
  252. __libc_setenv_freemem
  253. __libc_setlocale_lock
  254. __libc_setup_tls
  255. @@ -870,6 +1026,7 @@ __sigjmp_save
  256. __sigprocmask
  257. __sigsetjmp
  258. __snprintf
  259. +__sprintf_chk
  260. __stack_chk_fail
  261. __stack_chk_fail_local
  262. __stack_chk_guard
  263. @@ -934,6 +1091,8 @@ __vasprintf_internal
  264. __vfprintf_internal
  265. __vsnprintf
  266. __vsnprintf_internal
  267. +__vsprintf
  268. +__vsprintf_internal
  269. __wcrtomb
  270. __wcrtomb_internal
  271. __wcslen
  272. @@ -1347,7 +1506,58 @@ collseqmb
  273. collseqwc
  274. completed.1
  275. conversion_rate
  276. +cplus_demangle_builtin_types
  277. +cplus_demangle_operators
  278. cpu_list
  279. +d_append_char
  280. +d_append_num
  281. +d_append_string
  282. +d_bare_function_type
  283. +d_call_offset
  284. +d_count_templates_scopes
  285. +d_cv_qualifiers
  286. +d_demangle_callback.constprop.0
  287. +d_discriminator
  288. +d_encoding.part.0
  289. +d_expr_primary
  290. +d_expression_1
  291. +d_exprlist
  292. +d_find_pack
  293. +d_function_type
  294. +d_growable_string_callback_adapter
  295. +d_index_template_argument.part.0
  296. +d_lookup_template_argument
  297. +d_make_comp
  298. +d_make_name
  299. +d_maybe_module_name
  300. +d_maybe_print_designated_init
  301. +d_maybe_print_fold_expression
  302. +d_name
  303. +d_number
  304. +d_operator_name
  305. +d_pack_length
  306. +d_parmlist
  307. +d_prefix
  308. +d_print_array_type
  309. +d_print_comp
  310. +d_print_comp_inner
  311. +d_print_expr_op
  312. +d_print_function_type
  313. +d_print_lambda_parm_name
  314. +d_print_mod
  315. +d_print_mod_list
  316. +d_print_subexpr
  317. +d_ref_qualifier
  318. +d_source_name
  319. +d_special_name
  320. +d_substitution
  321. +d_template_arg
  322. +d_template_args_1
  323. +d_template_head
  324. +d_template_param
  325. +d_template_parm
  326. +d_type
  327. +d_unqualified_name
  328. data_start
  329. dcgettext
  330. dealloc_buffers
  331. @@ -1419,6 +1629,7 @@ find_module_idx
  332. flush_cleanup
  333. fopen
  334. fopen64
  335. +fputc
  336. fputs
  337. frame_downheap
  338. frame_dummy
  339. @@ -1472,6 +1683,7 @@ initial
  340. inmask.9
  341. insert_module
  342. int_mallinfo
  343. +is_designated_init.part.0.isra.0
  344. is_dst
  345. is_trusted_path_normalize
  346. isatty
  347. @@ -1547,6 +1759,7 @@ new_composite_name
  348. new_do_write
  349. new_heap
  350. next_bit
  351. +next_is_type_qual.isra.0
  352. next_line
  353. next_to_use.5
  354. nmap
  355. @@ -1636,6 +1849,7 @@ sched_getparam
  356. sched_getscheduler
  357. sched_setscheduler
  358. search_cache
  359. +secure_getenv
  360. setenv
  361. setjmp
  362. setlocale
  363. @@ -1645,6 +1859,7 @@ sigprocmask
  364. slashdot.0
  365. snprintf
  366. stage
  367. +standard_subs
  368. stat
  369. stat64
  370. state
  371. @@ -1746,6 +1961,7 @@ version_lock_lock_exclusive
  372. version_lock_mutex
  373. version_lock_unlock_exclusive
  374. vsnprintf
  375. +vsprintf
  376. wcrtomb
  377. wcslen
  378. wcsnlen
Advertisement
Add Comment
Please, Sign In to add comment