Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@1f7228810980:/# clang++ -v
- clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
- Target: aarch64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /usr/local/bin
- Found candidate GCC installation: /usr/lib/gcc/aarch64-linux-gnu/14
- Selected GCC installation: /usr/lib/gcc/aarch64-linux-gnu/14
- Candidate multilib: .;@m64
- Selected multilib: .;@m64
- root@1f7228810980:/# cat a.cpp
- int main() {
- return 42;
- }
- root@1f7228810980:/# cat b.cpp
- #include <memory>
- int main() {
- auto p = std::make_shared<int>(42);
- return *p;
- }
- root@1f7228810980:/# clang++ -O2 -static a.cpp -o a
- root@1f7228810980:/# clang++ -O2 -static b.cpp -o b
- root@1f7228810980:/# ls -la a
- -rwxr-xr-x 1 root root 647872 Nov 12 19:20 a
- root@1f7228810980:/# ls -la b
- -rwxr-xr-x 1 root root 746160 Nov 12 19:20 b
- root@1f7228810980:/# nm a | cut -f3- -d' ' > aa
- root@1f7228810980:/# nm b | cut -f3- -d' ' > bb
- root@1f7228810980:/# diff -upd aa bb
- --- aa 2025-11-12 19:21:19.847057150 +0000
- +++ bb 2025-11-12 19:21:25.964845212 +0000
- @@ -2,9 +2,12 @@
- .LANCHOR0
- .LANCHOR3
- .LANCHOR4
- +DW.ref._ZTISt9exception
- DW.ref.__gcc_personality_v0
- +DW.ref.__gxx_personality_v0
- _.stapsdt.base
- _Exit
- +_GLOBAL__sub_I_eh_alloc.cc
- _IO_2_1_stderr_
- _IO_2_1_stdin_
- _IO_2_1_stdout_
- @@ -148,6 +151,7 @@ _IO_un_link
- _IO_un_link.part.0
- _IO_unsave_markers
- _IO_unsave_wmarkers
- +_IO_vsprintf
- _IO_vtable_check
- _IO_wdefault_doallocate
- _IO_wdefault_finish
- @@ -201,6 +205,136 @@ _Unwind_Resume
- _Unwind_Resume_or_Rethrow
- _Unwind_SetGR
- _Unwind_SetIP
- +_ZGTtNKSt13bad_exception4whatEv
- +_ZGTtNKSt13bad_exceptionD1Ev
- +_ZGTtNKSt9exception4whatEv
- +_ZGTtNKSt9exceptionD1Ev
- +_ZL16get_adjusted_ptrPKSt9type_infoS1_PPv
- +_ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info
- +_ZL20check_exception_specP16lsda_header_infoPKSt9type_infoPvl
- +_ZL21base_of_encoded_valuehP15_Unwind_Context
- +_ZL23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception
- +_ZL28read_encoded_value_with_basehmPKhPm
- +_ZN10__cxxabiv111__terminateEPFvvE
- +_ZN10__cxxabiv112__unexpectedEPFvvE
- +_ZN10__cxxabiv115__forced_unwindD0Ev
- +_ZN10__cxxabiv115__forced_unwindD1Ev
- +_ZN10__cxxabiv115__forced_unwindD2Ev
- +_ZN10__cxxabiv117__class_type_infoD0Ev
- +_ZN10__cxxabiv117__class_type_infoD1Ev
- +_ZN10__cxxabiv117__class_type_infoD2Ev
- +_ZN10__cxxabiv119__foreign_exceptionD0Ev
- +_ZN10__cxxabiv119__foreign_exceptionD1Ev
- +_ZN10__cxxabiv119__foreign_exceptionD2Ev
- +_ZN10__cxxabiv119__terminate_handlerE
- +_ZN10__cxxabiv120__si_class_type_infoD0Ev
- +_ZN10__cxxabiv120__si_class_type_infoD1Ev
- +_ZN10__cxxabiv120__si_class_type_infoD2Ev
- +_ZN10__cxxabiv120__unexpected_handlerE
- +_ZN12_GLOBAL__N_113__new_handlerE
- +_ZN12_GLOBAL__N_114emergency_poolE
- +_ZN12_GLOBAL__N_14pool4freeEPv.constprop.0
- +_ZN12_GLOBAL__N_14pool8allocateEm.constprop.0
- +_ZN9__gnu_cxx24__concurrence_lock_errorD0Ev
- +_ZN9__gnu_cxx24__concurrence_lock_errorD1Ev
- +_ZN9__gnu_cxx24__concurrence_lock_errorD2Ev
- +_ZN9__gnu_cxx26__concurrence_unlock_errorD0Ev
- +_ZN9__gnu_cxx26__concurrence_unlock_errorD1Ev
- +_ZN9__gnu_cxx26__concurrence_unlock_errorD2Ev
- +_ZN9__gnu_cxx27__verbose_terminate_handlerEv
- +_ZN9__gnu_cxx30__throw_concurrence_lock_errorEv
- +_ZN9__gnu_cxx32__throw_concurrence_unlock_errorEv
- +_ZN9__gnu_cxx9__freeresEv
- +_ZNK10__cxxabiv117__class_type_info10__do_catchEPKSt9type_infoPPvj
- +_ZNK10__cxxabiv117__class_type_info11__do_upcastEPKS0_PKvRNS0_15__upcast_resultE
- +_ZNK10__cxxabiv117__class_type_info11__do_upcastEPKS0_PPv
- +_ZNK10__cxxabiv117__class_type_info12__do_dyncastElNS0_10__sub_kindEPKS0_PKvS3_S5_RNS0_16__dyncast_resultE
- +_ZNK10__cxxabiv117__class_type_info20__do_find_public_srcElPKvPKS0_S2_
- +_ZNK10__cxxabiv120__si_class_type_info11__do_upcastEPKNS_17__class_type_infoEPKvRNS1_15__upcast_resultE
- +_ZNK10__cxxabiv120__si_class_type_info12__do_dyncastElNS_17__class_type_info10__sub_kindEPKS1_PKvS4_S6_RNS1_16__dyncast_resultE
- +_ZNK10__cxxabiv120__si_class_type_info20__do_find_public_srcElPKvPKNS_17__class_type_infoES2_
- +_ZNK9__gnu_cxx24__concurrence_lock_error4whatEv
- +_ZNK9__gnu_cxx26__concurrence_unlock_error4whatEv
- +_ZNKSt13bad_exception4whatEv
- +_ZNKSt9bad_alloc4whatEv
- +_ZNKSt9exception4whatEv
- +_ZNKSt9type_info10__do_catchEPKS_PPvj
- +_ZNKSt9type_info11__do_upcastEPKN10__cxxabiv117__class_type_infoEPPv
- +_ZNKSt9type_info14__is_pointer_pEv
- +_ZNKSt9type_info15__is_function_pEv
- +_ZNSt13bad_exceptionD0Ev
- +_ZNSt13bad_exceptionD1Ev
- +_ZNSt13bad_exceptionD2Ev
- +_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE24_M_release_last_use_coldEv
- +_ZNSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev
- +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv
- +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv
- +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info
- +_ZNSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EED0Ev
- +_ZNSt9bad_allocD0Ev
- +_ZNSt9bad_allocD1Ev
- +_ZNSt9bad_allocD2Ev
- +_ZNSt9exceptionD0Ev
- +_ZNSt9exceptionD1Ev
- +_ZNSt9exceptionD2Ev
- +_ZNSt9type_infoD0Ev
- +_ZNSt9type_infoD1Ev
- +_ZNSt9type_infoD2Ev
- +_ZSt10unexpectedv
- +_ZSt13get_terminatev
- +_ZSt13set_terminatePFvvE
- +_ZSt14get_unexpectedv
- +_ZSt14set_unexpectedPFvvE
- +_ZSt15get_new_handlerv
- +_ZSt15set_new_handlerPFvvE
- +_ZSt18uncaught_exceptionv
- +_ZSt19uncaught_exceptionsv
- +_ZSt7nothrow
- +_ZSt9terminatev
- +_ZTIN10__cxxabiv115__forced_unwindE
- +_ZTIN10__cxxabiv117__class_type_infoE
- +_ZTIN10__cxxabiv119__foreign_exceptionE
- +_ZTIN10__cxxabiv120__si_class_type_infoE
- +_ZTIN9__gnu_cxx24__concurrence_lock_errorE
- +_ZTIN9__gnu_cxx26__concurrence_unlock_errorE
- +_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
- +_ZTISt13bad_exception
- +_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
- +_ZTISt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE
- +_ZTISt9bad_alloc
- +_ZTISt9exception
- +_ZTISt9type_info
- +_ZTSN10__cxxabiv115__forced_unwindE
- +_ZTSN10__cxxabiv117__class_type_infoE
- +_ZTSN10__cxxabiv119__foreign_exceptionE
- +_ZTSN10__cxxabiv120__si_class_type_infoE
- +_ZTSN9__gnu_cxx24__concurrence_lock_errorE
- +_ZTSN9__gnu_cxx26__concurrence_unlock_errorE
- +_ZTSSt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE
- +_ZTSSt13bad_exception
- +_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE
- +_ZTSSt19_Sp_make_shared_tag
- +_ZTSSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE
- +_ZTSSt9bad_alloc
- +_ZTSSt9exception
- +_ZTSSt9type_info
- +_ZTVN10__cxxabiv115__forced_unwindE
- +_ZTVN10__cxxabiv117__class_type_infoE
- +_ZTVN10__cxxabiv119__foreign_exceptionE
- +_ZTVN10__cxxabiv120__si_class_type_infoE
- +_ZTVN9__gnu_cxx24__concurrence_lock_errorE
- +_ZTVN9__gnu_cxx26__concurrence_unlock_errorE
- +_ZTVSt13bad_exception
- +_ZTVSt23_Sp_counted_ptr_inplaceIiSaIvELN9__gnu_cxx12_Lock_policyE2EE
- +_ZTVSt9bad_alloc
- +_ZTVSt9exception
- +_ZTVSt9type_info
- +_ZZN12_GLOBAL__N_110get_globalEvE6global
- +_ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating
- +_ZZNSt19_Sp_make_shared_tag5_S_tiEvE5__tag
- +_ZdlPv
- +_ZdlPvm
- +_Znwm
- __EH_FRAME_BEGIN__
- __FRAME_END__
- __GI___fstatat
- @@ -356,6 +490,7 @@ ___pthread_rwlock_init
- ___pthread_rwlock_rdlock
- ___pthread_rwlock_unlock
- ___pthread_rwlock_wrlock
- +___sprintf_chk
- ___vsnprintf
- __aarch64_cas4_acq
- __aarch64_cas4_rel
- @@ -366,6 +501,7 @@ __aarch64_cas8_rel
- __aarch64_have_lse_atomics
- __aarch64_have_sme
- __aarch64_ldadd4_acq
- +__aarch64_ldadd4_acq_rel
- __aarch64_ldadd4_rel
- __aarch64_ldadd4_relax
- __aarch64_ldadd8_acq
- @@ -417,7 +553,24 @@ __ctype_tolower_loc
- __ctype_toupper_loc
- __curbrk
- __current_locale_name
- +__cxa_allocate_dependent_exception
- +__cxa_allocate_exception
- __cxa_atexit
- +__cxa_begin_catch
- +__cxa_call_terminate
- +__cxa_call_unexpected
- +__cxa_current_exception_type
- +__cxa_demangle
- +__cxa_end_catch
- +__cxa_free_dependent_exception
- +__cxa_free_exception
- +__cxa_get_exception_ptr
- +__cxa_get_globals
- +__cxa_get_globals_fast
- +__cxa_init_primary_exception
- + w __cxa_pure_virtual
- +__cxa_rethrow
- +__cxa_throw
- __data_start
- __dcgettext
- __dcigettext
- @@ -470,6 +623,7 @@ __futex_abstimed_wait64
- __futex_abstimed_wait_cancelable64
- __futex_lock_pi64
- __gcc_personality_v0
- +__gcclibcxx_demangle_callback
- __gconv
- __gconv_alias_compare
- __gconv_alias_db
- @@ -546,6 +700,7 @@ __glibc_morecore
- __grouping_iterator_init
- __grouping_iterator_init_none
- __grouping_iterator_next
- +__gxx_personality_v0
- __handle_registered_modifier_mb
- __handle_registered_modifier_wc
- __hash_string
- @@ -618,6 +773,7 @@ __libc_reg_printf_freemem_ptr
- __libc_reg_type_freemem_ptr
- __libc_scratch_buffer_grow_preserve
- __libc_scratch_buffer_set_array_size
- +__libc_secure_getenv
- __libc_setenv_freemem
- __libc_setlocale_lock
- __libc_setup_tls
- @@ -870,6 +1026,7 @@ __sigjmp_save
- __sigprocmask
- __sigsetjmp
- __snprintf
- +__sprintf_chk
- __stack_chk_fail
- __stack_chk_fail_local
- __stack_chk_guard
- @@ -934,6 +1091,8 @@ __vasprintf_internal
- __vfprintf_internal
- __vsnprintf
- __vsnprintf_internal
- +__vsprintf
- +__vsprintf_internal
- __wcrtomb
- __wcrtomb_internal
- __wcslen
- @@ -1347,7 +1506,58 @@ collseqmb
- collseqwc
- completed.1
- conversion_rate
- +cplus_demangle_builtin_types
- +cplus_demangle_operators
- cpu_list
- +d_append_char
- +d_append_num
- +d_append_string
- +d_bare_function_type
- +d_call_offset
- +d_count_templates_scopes
- +d_cv_qualifiers
- +d_demangle_callback.constprop.0
- +d_discriminator
- +d_encoding.part.0
- +d_expr_primary
- +d_expression_1
- +d_exprlist
- +d_find_pack
- +d_function_type
- +d_growable_string_callback_adapter
- +d_index_template_argument.part.0
- +d_lookup_template_argument
- +d_make_comp
- +d_make_name
- +d_maybe_module_name
- +d_maybe_print_designated_init
- +d_maybe_print_fold_expression
- +d_name
- +d_number
- +d_operator_name
- +d_pack_length
- +d_parmlist
- +d_prefix
- +d_print_array_type
- +d_print_comp
- +d_print_comp_inner
- +d_print_expr_op
- +d_print_function_type
- +d_print_lambda_parm_name
- +d_print_mod
- +d_print_mod_list
- +d_print_subexpr
- +d_ref_qualifier
- +d_source_name
- +d_special_name
- +d_substitution
- +d_template_arg
- +d_template_args_1
- +d_template_head
- +d_template_param
- +d_template_parm
- +d_type
- +d_unqualified_name
- data_start
- dcgettext
- dealloc_buffers
- @@ -1419,6 +1629,7 @@ find_module_idx
- flush_cleanup
- fopen
- fopen64
- +fputc
- fputs
- frame_downheap
- frame_dummy
- @@ -1472,6 +1683,7 @@ initial
- inmask.9
- insert_module
- int_mallinfo
- +is_designated_init.part.0.isra.0
- is_dst
- is_trusted_path_normalize
- isatty
- @@ -1547,6 +1759,7 @@ new_composite_name
- new_do_write
- new_heap
- next_bit
- +next_is_type_qual.isra.0
- next_line
- next_to_use.5
- nmap
- @@ -1636,6 +1849,7 @@ sched_getparam
- sched_getscheduler
- sched_setscheduler
- search_cache
- +secure_getenv
- setenv
- setjmp
- setlocale
- @@ -1645,6 +1859,7 @@ sigprocmask
- slashdot.0
- snprintf
- stage
- +standard_subs
- stat
- stat64
- state
- @@ -1746,6 +1961,7 @@ version_lock_lock_exclusive
- version_lock_mutex
- version_lock_unlock_exclusive
- vsnprintf
- +vsprintf
- wcrtomb
- wcslen
- wcsnlen
Advertisement
Add Comment
Please, Sign In to add comment