Searched refs:common_flags (Results 26 - 50 of 77) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common.cpp88 if (!common_flags()->print_summary)
181 if (!common_flags()->mmap_limit_mb) return;
186 RAW_CHECK((total_mmaped >> 20) < common_flags()->mmap_limit_mb);
190 if (!common_flags()->mmap_limit_mb) return;
H A Dsanitizer_symbolizer_posix_libcdep.cpp344 common_flags()->symbolize_inline_frames);
402 const char *path = common_flags()->external_symbolizer_path;
440 if (common_flags()->allow_addr2line) {
451 if (!common_flags()->symbolize) {
H A Dsanitizer_posix_libcdep.cpp73 if (common_flags()->no_huge_pages_for_shadow)
110 if (common_flags()->disable_coredump) {
209 if (common_flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK;
218 if (common_flags()->use_sigaltstack) SetAlternateSignalStack();
331 if (common_flags()->no_huge_pages_for_shadow)
H A Dsanitizer_mac.cpp584 return common_flags()->handle_abort;
586 return common_flags()->handle_sigill;
588 return common_flags()->handle_sigtrap;
590 return common_flags()->handle_sigfpe;
592 return common_flags()->handle_segv;
594 return common_flags()->handle_sigbus;
604 if (result == kHandleSignalYes && !common_flags()->allow_user_segv_handler)
702 if (common_flags()->abort_on_error)
724 if (common_flags()->log_to_syslog)
737 if (common_flags()
[all...]
H A Dsanitizer_coverage_libcdep_new.cpp43 common_flags()->coverage_dir, name, internal_getpid(),
143 if (!initialized || !common_flags()->coverage) return;
H A Dsanitizer_symbolizer_win.cpp279 if (!common_flags()->symbolize) {
285 const char *user_path = common_flags()->external_symbolizer_path;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_flags.cpp53 cf.CopyFrom(*common_flags());
H A Dscudo_utils.cpp53 if (common_flags()->abort_on_error)
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp54 common_flags()->fast_unwind_on_fatal);
81 if (!common_flags()->print_summary)
155 SLoc.getColumn(), common_flags()->symbolize_vs_style,
156 common_flags()->strip_path_prefix);
166 common_flags()->symbolize_vs_style,
167 common_flags()->strip_path_prefix);
170 Info.module_arch, common_flags()->strip_path_prefix);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cpp254 if (common_flags()->use_madv_dontdump)
269 if (common_flags()->print_module_map)
275 if (common_flags()->exitcode)
276 internal__exit(common_flags()->exitcode);
427 stack->Unwind(pc, frame, uc, common_flags()->fast_unwind_on_fatal);
464 common_flags()->fast_unwind_on_fatal);
H A Dhwasan.cpp70 cf.CopyFrom(*common_flags());
128 if (common_flags()->help) parser.PrintFlagDescriptions();
276 __sanitizer_set_report_path(common_flags()->log_path);
299 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cpp93 if (common_flags()->detect_deadlocks) {
144 if (!(flagz & MutexFlagTryLock) && common_flags()->detect_deadlocks) {
193 if (first && common_flags()->detect_deadlocks) {
207 if (first && pre_lock && common_flags()->detect_deadlocks) {
239 if (common_flags()->detect_deadlocks && s->recursion == 0 &&
249 if (common_flags()->detect_deadlocks && !report_bad_unlock) {
258 if (!(flagz & MutexFlagTryLock) && common_flags()->detect_deadlocks) {
288 if (common_flags()->detect_deadlocks) {
302 if (pre_lock && common_flags()->detect_deadlocks) {
324 if (common_flags()
[all...]
H A Dtsan_mman.cpp120 SetAllocatorMayReturnNull(common_flags()->allocator_may_return_null);
121 allocator()->Init(common_flags()->allocator_release_to_os_interval_ms);
122 max_user_defined_malloc_size = common_flags()->max_allocation_size_mb
123 ? common_flags()->max_allocation_size_mb
H A Dtsan_platform_posix.cpp37 if (common_flags()->use_madv_dontdump)
H A Dtsan_report.cpp131 RenderFrame(&res, common_flags()->stack_trace_format, i, frame->info,
132 common_flags()->symbolize_vs_style,
133 common_flags()->strip_path_prefix, kInterposedFunctionPrefix);
388 if (common_flags()->print_module_map == 2) PrintModuleMap();
406 StripPathPrefix(info.file, common_flags()->strip_path_prefix),
H A Dtsan_rtl.cpp343 common_flags()->fast_unwind_on_fatal);
380 if (common_flags()->detect_deadlocks)
395 __sanitizer_set_report_path(common_flags()->log_path);
446 if (common_flags()->print_module_map == 1) PrintModuleMap();
477 if (common_flags()->print_suppressions)
491 return failed ? common_flags()->exitcode : 0;
934 if (SANITIZER_WINDOWS || size < common_flags()->clear_shadow_mmap_threshold) {
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_rtl.cpp77 cf.CopyFrom(*common_flags());
87 SetVerbosity(common_flags()->verbosity);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp42 SetAllocatorMayReturnNull(common_flags()->allocator_may_return_null);
44 common_flags()->allocator_release_to_os_interval_ms);
45 if (common_flags()->max_allocation_size_mb)
46 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20,
H A Dlsan_common_linux.cpp115 if (common_flags()->exitcode) Die();
H A Dlsan_posix.cpp86 common_flags()->fast_unwind_on_fatal);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_linux.cpp147 if (common_flags()->use_madv_dontdump)
166 if (common_flags()->exitcode)
167 internal__exit(common_flags()->exitcode);
H A Dmsan.cpp147 cf.CopyFrom(*common_flags());
191 if (common_flags()->help) parser.PrintFlagDescriptions();
199 cf.CopyFrom(*common_flags());
408 common_flags()->fast_unwind_on_fatal);
437 __sanitizer_set_report_path(common_flags()->log_path);
469 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir);
H A Dmsan.h344 nullptr, common_flags()->fast_unwind_on_malloc, \
345 common_flags()->malloc_context_size)
357 stack.Unwind(pc, bp, nullptr, common_flags()->fast_unwind_on_malloc, size);\
366 stack.Unwind(pc, bp, nullptr, common_flags()->fast_unwind_on_fatal); \
H A Dmsan_allocator.cpp135 SetAllocatorMayReturnNull(common_flags()->allocator_may_return_null);
136 allocator.Init(common_flags()->allocator_release_to_os_interval_ms);
137 if (common_flags()->max_allocation_size_mb)
138 max_malloc_size = Min(common_flags()->max_allocation_size_mb << 20,
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_shadow_setup.cpp40 if (common_flags()->use_madv_dontdump) DontDumpShadowMemory(beg, size);

Completed in 218 milliseconds

1234