Home
last modified time | relevance | path

Searched refs:at_scope_exit (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profiling.cpp89 auto AllocatorsUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
100 auto NodeBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
107 auto RootsBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
115 auto ShadowStackBufferUndo = at_scope_exit([&]() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
458 at_scope_exit([]() XRAY_NEVER_INSTRUMENT { cleanupTLD(); }); in profilingLoggingInit()
H A Dxray_buffer_queue.cpp86 auto CleanupBackingStore = at_scope_exit([&, this] { in init()
98 auto CleanupExtentsBackingStore = at_scope_exit([&, this] { in init()
H A Dxray_profile_collector.cpp251 auto ProfileArenaCleanup = at_scope_exit( in serialize()
258 auto PathArenaCleanup = at_scope_exit( in serialize()
H A Dxray_fdr_logging.cpp308 auto ResetToUnitialized = at_scope_exit([] { in fdrLoggingFlush()
313 auto CleanupBuffers = at_scope_exit([] { in fdrLoggingFlush()
H A Dxray_interface.cpp389 auto XRayPatchingStatusResetter = at_scope_exit( in controlPatching()
433 auto XRayPatchingStatusResetter = at_scope_exit( in controlPatching()
H A Dxray_basic_logging.cpp341 auto ExitGuard = at_scope_exit([&TLD] { in TLDDestructor()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilFuchsia.cpp466 RunOnDestruction<Fn> at_scope_exit(Fn fn) { in at_scope_exit() function
521 auto CloseFdOut = at_scope_exit([FdOut]() { in ExecuteCommand()
556 auto CloseHandle = at_scope_exit([&]() { _zx_handle_close(ProcessHandle); }); in ExecuteCommand()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cpp307 auto cleanup = at_scope_exit([&]() { in IsAccessibleMemoryRange()
335 auto cleanup = at_scope_exit([&]() { in TryMemCpy()
506 auto file_closer = at_scope_exit([&] { in StartSubprocess()
H A Dsanitizer_mac.cpp266 auto fd_closer = at_scope_exit([&] { in internal_spawn_impl()
295 auto acts_cleanup = at_scope_exit([&] { in internal_spawn_impl()
309 auto attrs_cleanup = at_scope_exit([&] { in internal_spawn_impl()
H A Dsanitizer_common.h1052 RunOnDestruction<Fn> at_scope_exit(Fn fn) { in at_scope_exit() function
H A Dsanitizer_linux.cpp1098 auto cleanup = at_scope_exit([&] { internal_close(descriptor); }); in ListThreads()
1150 auto cleanup = at_scope_exit([&] { in LoadStatus()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp940 auto on_exit = at_scope_exit([&] { in guard_acquire()