Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sharkautarch/bf0b556eb5859ae78e03ff8039be9996 to your computer and use it in GitHub Desktop.
Save sharkautarch/bf0b556eb5859ae78e03ff8039be9996 to your computer and use it in GitHub Desktop.
wonky stuff
$ '/usr/bin/clang++' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-clear-ast-before-backend' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'commit.cpp' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=cplusplus' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-setup-static-analyzer' '-mrelocation-model' 'pic' '-pic-level' '2' '-pic-is-pie' '-mframe-pointer=all' '-menable-no-infs' '-menable-no-nans' '-fapprox-func' '-funsafe-math-optimizations' '-fno-signed-zeros' '-mreassociate' '-freciprocal-math' '-fdenormal-fp-math=preserve-sign,preserve-sign' '-ffp-contract=fast' '-fno-rounding-math' '-ffast-math' '-ffinite-math-only' '-mconstructor-aliases' '-funwind-tables=2' '-target-cpu' 'x86-64' '-tune-cpu' 'generic' '-debugger-tuning=gdb' "-fcoverage-compilation-dir=${HOME}/gamescope/build/meson-private/tmpl54sh_45" '-resource-dir' '/usr/lib/clang/17' '-isystem' '/usr/include/libdrm' '-I' 'src/gamescope.p' '-I' 'src' '-I' '../../../src' '-I' '../../../src/reshade/source' '-I' '../../../src/reshade/include' '-I' '../../../thirdparty/SPIRV-Headers/include/spirv/unified1' '-I' 'subprojects/wlroots/include' '-I' '../../../subprojects/wlroots/include' '-I' '../../../subprojects/libliftoff/include' '-I' 'subprojects/stb' '-I' '../../protocol' '-I' '../../../subprojects/stb' '-I' 'protocol' '-I' '/usr/include' '-I' '/usr/include/libdrm' '-I' '/usr/include/SDL2' '-I' '/usr/include/pixman-1' '-I' '/usr/include/uuid' '-I' '/usr/include/pipewire-0.3' '-I' '/usr/include/spa-0.2' '-I' '/usr/include/libdecor-0' '-I' '/usr/include/libei-1.0' '-D' '_GLIBCXX_ASSERTIONS=1' '-D' '_FILE_OFFSET_BITS=64' '-D' 'WLR_USE_UNSTABLE' '-D' 'HAVE_PIPEWIRE=1' '-D' 'HAVE_OPENVR=0' '-D' 'HWDATA_PNP_IDS="//usr/share/hwdata/pnp.ids"' '-D' 'AVIF_DLL' '-D' '_REENTRANT' '-D' 'HAVE_DRM=1' '-D' 'HAVE_SDL2=1' '-D' 'HAVE_AVIF=1' '-D' 'HAVE_LIBCAP=1' '-D' 'HAVE_LIBEIS=1' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward' '-internal-isystem' '/usr/lib/clang/17/include' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-O0' '-Wno-unused-parameter' '-Wno-missing-field-initializers' '-Wno-invalid-offsetof' '-Wno-unused-const-variable' '-Wno-volatile' '-Wno-ignored-qualifiers' '-Wno-missing-braces' '-std=c++20' '-fdeprecated-macro' "-fdebug-compilation-dir=${HOME}/gamescope/build/meson-private/tmpl54sh_45" '-ferror-limit' '19' '-stack-protector' '2' '-fgnuc-version=4.2.1' '-fno-implicit-modules' '-fcxx-exceptions' '-fexceptions' '-fcolor-diagnostics' '-analyzer-checker' 'core.builtin.BuiltinFunctions' '-analyzer-checker' 'optin.cplusplus.UninitializedObject' '-analyzer-checker' 'debug.DumpCalls' '-analyzer-checker' 'optin.cplusplus.VirtualCall' '-analyzer-disable-checker' 'deadcode.DeadStores' '-analyzer-max-loop' '8' '-analyzer-output=html' '-faddrsig' '-D__GCC_HAVE_DWARF2_CFI_ASM=1' '-o' "${HOME}/gamescope/build/meson-logs/scanbuild/2024-04-26-132207-29903-1" '-x' 'c++' '../../../src/commit.cpp'
this->m_oReleasePoint = oReleasePointReturning &Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint
this->m_WaitableCommitStateMutex std::__addressof(__m) Returning &SymRegion{conj_$2{class std::mutex *, LC2, S9258436, #1}}
this->lock() this->_M_device->lock() __gthread_mutex_lock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_lock(__mutex) Returning conj_$6{int, LC5, S882834, #1}
Returning conj_$6{int, LC5, S882834, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c3df850,lock}
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->unlock() this->_M_device->unlock() __gthread_mutex_unlock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_unlock(__mutex) Returning conj_$13{int, LC10, S883306, #1}
Returning conj_$13{int, LC10, S883306, #1}
Returning void
Returning void
__throw_system_error(__e) __throw_system_error(int(errc::operation_not_permitted))this this->IncRef() RcRef::IncRef(this->m_pObject) pObject->IncRef() this->m_uRefCount ++ this->fetch_add(1) Returning Unknown
Returning Unknown
Returning conj_$5{__int_type, LC17, S6389234, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c3d8c68,pWaitable}
g_ImageWaiter.RemoveWaitable(this) UseTracking() Returning 1 U1b
pWaitable Returning &SymRegion{reg_$0<struct commit_t * this>}
pWaitable->HasLiveReferences() this->m_uRefCount.load() __m & __memory_order_mask Returning 5 S32b
__builtin_expect(!bool(__b != memory_order_release), false) Returning 0 S64b
__builtin_expect(!bool(__b != memory_order_acq_rel), false) Returning 0 S64b
Returning Unknown
this->m_uRefPrivate.load() __m & __memory_order_mask Returning 5 S32b
__builtin_expect(!bool(__b != memory_order_release), false) Returning 0 S64b
__builtin_expect(!bool(__b != memory_order_acq_rel), false) Returning 0 S64b
Returning Unknown
Returning Unknown
this->m_RemovedWaitablesMutex std::__addressof(__m) Returning &SymRegion{conj_$8{class std::mutex *, LC27, S9258436, #1}}
this->lock() this->_M_device->lock() __gthread_mutex_lock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_lock(__mutex) Returning conj_$12{int, LC30, S882834, #1}
Returning conj_$12{int, LC30, S882834, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c453d00,lock}
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->unlock() this->_M_device->unlock() __gthread_mutex_unlock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_unlock(__mutex) Returning conj_$16{int, LC35, S883306, #1}
Returning conj_$16{int, LC35, S883306, #1}
Returning void
Returning void
Returning void
Call to ~Rc<commit_t>() noexcept {
this->DecRef();
}
this->DecRef() RcRef::DecRef(this->m_pObject) pObject->DecRef() -- this->m_uRefCount Returning Unknown
Returning conj_$18{__int_type, LC40, S6389340, #1}
Returning void
Returning void
close(this->m_nCommitFence)Returning conj_$22{int, LC12, S8836107, #1}
this->DecRefPrivate() -- this->m_uRefPrivate Returning Unknown
Returning conj_$24{__int_type, LC42, S6389474, #1}
this->m_uRefPrivate += 2147483648U Returning Unknown
Call to virtual ~RcObject() noexcept {
}
delete this Returning void
this->m_WaitableCommitStateMutex std::__addressof(__m) Returning &SymRegion{conj_$33{class std::mutex *, LC46, S9258436, #1}}
this->lock() Returning void
Returning lazyCompoundVal{0x5ae63c4c90f0,lock}
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->pBackendFb != nullptr Returning 0 U1b
wlserver_lock() Returning void
this->presentation_feedbacks.empty() Returning conj_$49{_Bool, LC45, S8778015, #1}
wlr_buffer_unlock(this->buf) Returning void
this->m_oReleasePoint this->_M_is_engaged() Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
this->_M_reset() Returning void
Call to ~_Optional_payload<wlserver_vk_swapchain_feedback, true, false, false>() noexcept = default Call to ~_Optional_payload_base<wlserver_vk_swapchain_feedback>() noexcept = default Call to constexpr ~_Storage<wlserver_vk_swapchain_feedback>() noexcept {
}
Call to inline ~wlserver_vk_swapchain_feedback() noexcept {
}
Call to inline ~shared_ptr() noexcept {
}
Call to inline ~shared_ptr() noexcept {
}
Call to ~Rc<IBackendFb>() noexcept {
this->DecRef();
}
this->DecRef() Returning void
Call to virtual ~RcObject() noexcept {
}
Call to virtual ~IWaitable() noexcept {
}
delete this Returning void
this->m_oReleasePoint this->_M_get() Returning &SymRegion{conj_$72{struct GamescopeTimelinePoint &, LC60, S8778523, #1}}
std::__addressof(this->_M_get()) Returning &SymRegion{conj_$73{struct GamescopeTimelinePoint *, LC60, S8778686, #1}}
Returning &SymRegion{conj_$73{struct GamescopeTimelinePoint *, LC60, S8778686, #1}}
this->m_oReleasePoint->Release() Returning void
wlserver_presentation_feedback_discard(this->surf, this->presentation_feedbacks) Returning void
Returning 1 U1b
this->pBackendFb = nullptr this->DecRef() Returning void
Returning &Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.pBackendFb
__throw_system_error(__e) __throw_system_error(int(errc::operation_not_permitted))Returning void
Call to ~Rc<commit_t>() noexcept {
this->DecRef();
}
this->IncRefPrivate() this->m_uRefPrivate ++ this->fetch_add(1) Returning Unknown
Returning Unknown
Returning Unknown
Returning 0 U32b
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c54ec48,pWaitable}
g_ImageWaiter.RemoveWaitable(this) UseTracking() Returning 1 U1b
pWaitable Returning &SymRegion{reg_$0<struct commit_t * this>}
pWaitable->HasLiveReferences() this->m_uRefCount.load() __m & __memory_order_mask Returning 5 S32b
__builtin_expect(!bool(__b != memory_order_release), false) Returning 0 S64b
__builtin_expect(!bool(__b != memory_order_acq_rel), false) Returning 0 S64b
this->DecRef() RcRef::DecRef(this->m_pObject) pObject->DecRef() -- this->m_uRefCount Returning Unknown
this->DecRefPrivate() -- this->m_uRefPrivate Returning Unknown
this->m_uRefPrivate += 2147483648U Returning Unknown
Call to virtual ~RcObject() noexcept {
}
delete this Returning void
this->m_WaitableCommitStateMutex std::__addressof(__m) Returning &SymRegion{conj_$33{class std::mutex *, LC46, S9258436, #1}}
this->lock() Returning void
Returning lazyCompoundVal{0x5ae63c4c90f0,lock}
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->pBackendFb != nullptr Returning 0 U1b
Returning 1 U1b
this->pBackendFb = nullptr this->DecRef() Returning void
Returning &Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.pBackendFb
wlserver_lock() Returning void
this->presentation_feedbacks.empty() Returning conj_$49{_Bool, LC45, S8778015, #1}
wlserver_presentation_feedback_discard(this->surf, this->presentation_feedbacks) Returning void
wlr_buffer_unlock(this->buf) Returning void
this->m_oReleasePoint this->_M_is_engaged() Returning derived_$94{conj_$79{int, LC45, S8778068, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
Returning derived_$94{conj_$79{int, LC45, S8778068, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
this->m_oReleasePoint this->_M_get() Returning &SymRegion{conj_$72{struct GamescopeTimelinePoint &, LC60, S8778523, #1}}
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
Returning 0 U32b
Returning 0 U32b
Returning void
Returning void
close(this->m_nCommitFence)Returning conj_$22{int, LC12, S8836107, #1}
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
wlr_buffer_unlock(this->buf) Returning void
this->m_oReleasePoint this->_M_is_engaged() Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
this->m_oReleasePoint this->_M_get() Returning &SymRegion{conj_$72{struct GamescopeTimelinePoint &, LC60, S8778523, #1}}
wlserver_lock() Returning void
this->presentation_feedbacks.empty() Returning conj_$49{_Bool, LC45, S8778015, #1}
wlserver_presentation_feedback_discard(this->surf, this->presentation_feedbacks) Returning void
Returning conj_$18{__int_type, LC40, S6389340, #1}
Returning void
Returning void
close(this->m_nCommitFence) Returning 0 U32b
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
Returning 0 U32b
Returning void
Returning void
wlserver_lock() Returning void
this->presentation_feedbacks.empty() Returning conj_$49{_Bool, LC45, S8778015, #1}
wlserver_presentation_feedback_discard(this->surf, this->presentation_feedbacks) Returning void
Returning conj_$24{__int_type, LC42, S6389474, #1}
Returning 0 U32b
Returning void
Returning void
wlr_buffer_unlock(this->buf) Returning void
this->m_oReleasePoint this->_M_is_engaged() Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
this->m_oReleasePoint this->_M_get() Returning &SymRegion{conj_$72{struct GamescopeTimelinePoint &, LC60, S8778523, #1}}
std::__addressof(this->_M_get()) Returning &SymRegion{conj_$73{struct GamescopeTimelinePoint *, LC60, S8778686, #1}}
Returning &SymRegion{conj_$73{struct GamescopeTimelinePoint *, LC60, S8778686, #1}}
this->m_oReleasePoint->Release() Returning void
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
this->_M_reset() Returning void
Call to ~_Optional_payload<wlserver_vk_swapchain_feedback, true, false, false>() noexcept = default Call to ~_Optional_payload_base<wlserver_vk_swapchain_feedback>() noexcept = default Call to constexpr ~_Storage<wlserver_vk_swapchain_feedback>() noexcept {
}
Call to inline ~wlserver_vk_swapchain_feedback() noexcept {
}
Call to inline ~shared_ptr() noexcept {
}
Call to inline ~shared_ptr() noexcept {
}
Call to ~Rc<IBackendFb>() noexcept {
this->DecRef();
}
this->DecRef() Returning void
Call to virtual ~RcObject() noexcept {
}
Call to virtual ~IWaitable() noexcept {
}
delete this Returning void
Returning 0 U32b
Returning 0 U32b
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
Returning 0 U32b
Returning void
Returning void
close(this->m_nCommitFence) wlr_buffer_unlock(this->buf) Returning void
this->m_oReleasePoint this->_M_is_engaged() Returning derived_$94{conj_$79{int, LC45, S8778068, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
Returning derived_$94{conj_$79{int, LC45, S8778068, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
this->m_oReleasePoint this->_M_get() Returning &SymRegion{conj_$72{struct GamescopeTimelinePoint &, LC60, S8778523, #1}}
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
Returning 0 U32b
Returning void
Returning void
wlr_buffer_unlock(this->buf) Returning void
this->m_oReleasePoint this->_M_is_engaged() Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
Returning derived_$55{conj_$25{int, LC44, S9214789, #1},Base{Base{Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_engaged}
this->m_oReleasePoint this->_M_get() Returning &SymRegion{conj_$72{struct GamescopeTimelinePoint &, LC60, S8778523, #1}}
wlserver_unlock() Returning void
Call to constexpr ~vector<wl_resource *>() noexcept {
std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, this->_M_get_Tp_allocator());
;
}
Call to inline constexpr ~optional() noexcept {
}
Call to inline constexpr ~_Optional_base() noexcept {
}
Call to constexpr ~_Optional_payload<wlserver_vk_swapchain_feedback>() noexcept {
this->_M_reset();
}
Returning 0 U32b
Returning void
Returning void
this->m_WaitableCommitStateMutex std::__addressof(__m) Returning &SymRegion{conj_$2{class std::mutex *, LC66, S9258436, #1}}
this->lock() this->_M_device->lock() __gthread_mutex_lock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_lock(__mutex) Returning conj_$6{int, LC69, S882834, #1}
Returning conj_$6{int, LC69, S882834, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c5415d8,lock}
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->unlock() this->_M_device->unlock() __gthread_mutex_unlock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_unlock(__mutex) Returning conj_$10{int, LC74, S883306, #1}
Returning conj_$10{int, LC74, S883306, #1}
Returning void
Returning void
__throw_system_error(__e) __throw_system_error(int(errc::operation_not_permitted))gpuvis_trace_end_ctx_printf(this->commitID, "wait fence")Returning conj_$6{int, LC76, S8779790, #1}
this->m_WaitableCommitStateMutex std::__addressof(__m) Returning &SymRegion{conj_$7{class std::mutex *, LC77, S9258436, #1}}
this->lock() this->_M_device->lock() __gthread_mutex_lock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_lock(__mutex) Returning conj_$11{int, LC80, S882834, #1}
Returning conj_$11{int, LC80, S882834, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c5301c8,lock}
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->unlock() this->_M_device->unlock() __gthread_mutex_unlock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_unlock(__mutex) Returning conj_$15{int, LC85, S883306, #1}
Returning conj_$15{int, LC85, S883306, #1}
Returning void
Returning void
this->Signal() this->m_pDoneCommits->listCommitsDoneLock std::__addressof(__m) Returning &SymRegion{conj_$18{class std::mutex *, LC88, S9258436, #1}}
this->lock() this->_M_device->lock() __gthread_mutex_lock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_lock(__mutex) Returning conj_$22{int, LC91, S882834, #1}
Returning conj_$22{int, LC91, S882834, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c4b1680,lock}
this->m_pDoneCommits->listCommitsDone.push_back(CommitDoneEntry_t{.winSeq = this->win_seq, .commitID = this->commitID, .desiredPresentTime = this->desired_present_time, .fifo = this->fifo}) Returning void
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
this->unlock() this->_M_device->unlock() __gthread_mutex_unlock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_unlock(__mutex) Returning conj_$33{int, LC96, S883306, #1}
Returning conj_$33{int, LC96, S883306, #1}
Returning void
Returning void
Returning void
nudge_steamcompmgr()Returning void
__throw_system_error(__e) __throw_system_error(int(errc::operation_not_permitted)) get_time_in_nanos() Returning conj_$44{uint64_t, LC87, S8780062, #1}
__throw_system_error(__e) __throw_system_error(int(errc::operation_not_permitted)) this->m_pDoneCommits->listCommitsDoneLock std::__addressof(__m) Returning &SymRegion{conj_$18{class std::mutex *, LC88, S9258436, #1}}
this->lock() __throw_system_error(int(errc::operation_not_permitted)) this->_M_device->lock() __gthread_mutex_lock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_lock(__mutex) Returning conj_$22{int, LC91, S882834, #1}
Returning conj_$22{int, LC91, S882834, #1}
Returning void
Returning void
Returning lazyCompoundVal{0x5ae63c49fc18,lock}
this->m_pDoneCommits->listCommitsDone.push_back(CommitDoneEntry_t{.winSeq = this->win_seq, .commitID = this->commitID, .desiredPresentTime = this->desired_present_time, .fifo = this->fifo}) Returning void
Call to ~unique_lock<mutex>() noexcept {
if (this->_M_owns)
this->unlock();
}
__throw_system_error(__e) this->unlock() this->_M_device->unlock() __gthread_mutex_unlock(&this->_M_mutex) __gthread_active_p() Returning 1 S32b
pthread_mutex_unlock(__mutex) Returning conj_$33{int, LC96, S883306, #1}
Returning conj_$33{int, LC96, S883306, #1}
Returning void
Returning void
this->IsPerfOverlayFIFO() Returning (reg_$49<_Bool Element{SymRegion{reg_$0<struct commit_t * this>},0 S64b,struct commit_t}.is_steam>) != 0U
mangoapp_update(this->IsPerfOverlayFIFO() ? uint64_t(~0ULL) : frametime, frametime, uint64_t(~0ULL)) Returning void
Returning void
nudge_steamcompmgr()Returning void
Returning 1 U1b
mangoapp_update(this->IsPerfOverlayFIFO() ? uint64_t(~0ULL) : frametime, frametime, uint64_t(~0ULL)) Returning void
Returning void
nudge_steamcompmgr()Returning void
mangoapp_update(this->IsPerfOverlayFIFO() ? uint64_t(~0ULL) : frametime, frametime, uint64_t(~0ULL)) Returning void
Returning void
nudge_steamcompmgr()Returning void
this->feedback this->_M_is_engaged() Returning reg_$2<_Bool Base{Base{Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.feedback,_Optional_base}._M_payload,_Optional_payload},_Optional_payload_base}._M_engaged>
Returning reg_$2<_Bool Base{Base{Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.feedback,_Optional_base}._M_payload,_Optional_payload},_Optional_payload_base}._M_engaged>
this->vulkanTexReturning 0 U1b
Returning 1 U1b
this->vulkanTex this->_M_get() static_cast<const __shared_ptr<CVulkanTexture, (_Lock_policy)2U> *>(this)->get() Returning &SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>}
Returning &SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>}
Returning &SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>}
this->vulkanTex->format()Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
VkColorSpaceToGamescopeAppTextureColorSpace(this->vulkanTex->format(), colorspace) ToSrgbVulkanFormat(format) Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
ToLinearVulkanFormat(format) Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
Returning 1 U32b
Returning 0 U32b
Returning 37 U32b
Returning 44 U32b
Returning 43 U32b
ToLinearVulkanFormat(format) Returning 50 U32b
ToLinearVulkanFormat(format)this->vulkanTexReturning 0 U1b
Returning 1 U1b
this->feedback this->_M_get() this->_M_is_engaged() Returning 1 U1b
__builtin_expect(!bool(this->_M_is_engaged()), false) Returning 0 S64b
static_cast<const std::_Optional_base<wlserver_vk_swapchain_feedback> *>(this)->_M_payload._M_get() Returning &Base{Base{Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.feedback,_Optional_base}._M_payload,_Optional_payload},_Optional_payload_base}._M_payload._M_value
Returning &Base{Base{Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.feedback,_Optional_base}._M_payload,_Optional_payload},_Optional_payload_base}._M_payload._M_value
std::__addressof(this->_M_get()) Returning &SymRegion{conj_$5{const struct wlserver_vk_swapchain_feedback *, LC111, S8779460, #1}}
Returning &SymRegion{conj_$5{const struct wlserver_vk_swapchain_feedback *, LC111, S8779460, #1}}
this->vulkanTexReturning 0 U1b
Returning 37 U32b
Returning 0 U32b
this->vulkanTexReturning 1 U1b
this->vulkanTex this->_M_get() static_cast<const __shared_ptr<CVulkanTexture, (_Lock_policy)2U> *>(this)->get() Returning &SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>}
Returning &SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>}
Returning &SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>}
this->vulkanTex->format()Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
VkColorSpaceToGamescopeAppTextureColorSpace(this->vulkanTex->format(), colorspace)Returning 3 U32b
Returning 2 U32b
ToSrgbVulkanFormat(format) Returning 50 U32b
ToLinearVulkanFormat(format) Returning 43 U32b
ToLinearVulkanFormat(format) Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
ToLinearVulkanFormat(format) ToSrgbVulkanFormat(format) Returning 50 U32b
ToLinearVulkanFormat(format) Returning 43 U32b
ToLinearVulkanFormat(format) Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
ToLinearVulkanFormat(format) Returning 44 U32b
Returning 0 U32b
Returning 44 U32b
Returning 0 U32b
Returning 0 U32b
Returning 37 U32b
Returning 0 U32b
Returning 44 U32b
Returning 37 U32b
Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
Returning 1 U32b
Returning 0 U32b
Returning 44 U32b
Returning 0 U32b
Returning 37 U32b
Returning 0 U32b
Returning 44 U32b
Returning 37 U32b
Returning reg_$4<VkFormat Element{SymRegion{reg_$3<element_type * Base{Element{SymRegion{reg_$0<const struct commit_t * this>},0 S64b,struct commit_t}.vulkanTex,__shared_ptr}._M_ptr>},0 S64b,class CVulkanTexture}.m_format>
Returning 1 U32b
Returning 0 U32b
Returning 0 U32b
Returning 0 U32b
Returning 0 U32b
Returning 0 U32b
Returning 0 U32b
Returning Unknown
Returning lazyCompoundVal{0x5ae63c4bc0a0,Base{SymRegion{reg_$0<struct commit_t * this>},RcObject}}
Returning lazyCompoundVal{0x5ae63c551f48,SymRegion{reg_$0<struct commit_t * this>}.pBackendFb}
Returning Unknown
Returning lazyCompoundVal{0x5ae63c530568,Base{SymRegion{reg_$0<struct commit_t * this>}.vulkanTex,__shared_ptr}._M_refcount}
Returning lazyCompoundVal{0x5ae63c5536f0,Base{SymRegion{reg_$0<struct commit_t * this>}.vulkanTex,__shared_ptr}}
Returning lazyCompoundVal{0x5ae63c3dc608,SymRegion{reg_$0<struct commit_t * this>}.vulkanTex}
Returning lazyCompoundVal{0x5ae63c5c2188,SymRegion{reg_$0<struct commit_t * this>}.presentation_feedbacks}
Returning lazyCompoundVal{0x5ae63c5c40a0,Base{SymRegion{reg_$0<struct commit_t * this>}.m_WaitableCommitStateMutex,__mutex_base}}
Returning lazyCompoundVal{0x5ae63c5c3f70,SymRegion{reg_$0<struct commit_t * this>}.m_WaitableCommitStateMutex}
Returning Unknown
Returning Unknown
Returning lazyCompoundVal{0x5ae63c3e63a0,Base{Base{SymRegion{reg_$0<struct commit_t * this>}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}._M_payload}
Returning lazyCompoundVal{0x5ae63c3e7ae8,Base{Base{SymRegion{reg_$0<struct commit_t * this>}.m_oReleasePoint,_Optional_base}._M_payload,_Optional_payload_base}}
Returning lazyCompoundVal{0x5ae63c3e7918,Base{SymRegion{reg_$0<struct commit_t * this>}.m_oReleasePoint,_Optional_base}._M_payload}
Returning lazyCompoundVal{0x5ae63c3e78d0,Base{SymRegion{reg_$0<struct commit_t * this>}.m_oReleasePoint,_Optional_base}}
Returning Unknown
Returning lazyCompoundVal{0x5ae63c5415f8,SymRegion{reg_$0<struct commit_t * this>}.m_oReleasePoint}
../../../src/commit.cpp:118:12: warning: Use of memory after it is freed [cplusplus.NewDelete]
118 | close( m_nCommitFence );
| ^~~~~~~~~~~~~~
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment