Home
last modified time | relevance | path

Searched refs:common_flags (Results 1 – 25 of 60) sorted by relevance

123

/external/compiler-rt/lib/lsan/
Dlsan.cc43 cf.CopyFrom(*common_flags()); in InitializeFlags()
61 SetVerbosity(common_flags()->verbosity); in InitializeFlags()
65 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
87 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) in __lsan_init()
90 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in __lsan_init()
Dlsan.h35 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
38 GET_STACK_TRACE(__sanitizer::common_flags()->malloc_context_size, \
39 common_flags()->fast_unwind_on_malloc)
Dlsan_common.cc39 if (!disable_counter && common_flags()->detect_leaks) { in EnableInThisThread()
105 if (common_flags()->detect_leaks) { in InitCommonLsan()
466 if (common_flags()->print_suppressions) in CheckForLeaks()
484 if (common_flags()->exitcode) { in DoLeakCheck()
668 if (!common_flags()->detect_leaks) in __lsan_ignore_object()
739 if (common_flags()->detect_leaks) in __lsan_do_leak_check()
747 if (common_flags()->detect_leaks) in __lsan_do_recoverable_leak_check()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_libcdep.cc39 const char *flag = common_flags()->color; in ColorizeReports()
51 if (!common_flags()->print_summary) in ReportErrorSummary()
73 uptr hard_rss_limit_mb = common_flags()->hard_rss_limit_mb; in BackgroundThread()
74 uptr soft_rss_limit_mb = common_flags()->soft_rss_limit_mb; in BackgroundThread()
144 if (!common_flags()->hard_rss_limit_mb && in MaybeStartBackgroudThread()
145 !common_flags()->soft_rss_limit_mb) return; in MaybeStartBackgroudThread()
Dsanitizer_stacktrace_libcdep.cc29 int dedup_frames = common_flags()->dedup_token_length; in Print()
39 RenderFrame(&frame_desc, common_flags()->stack_trace_format, frame_num++, in Print()
40 cur->info, common_flags()->symbolize_vs_style, in Print()
41 common_flags()->strip_path_prefix); in Print()
Dsanitizer_common.cc56 if (common_flags()->log_exe_name && exe_name) { in ReopenIfNecessary()
198 if (!common_flags()->print_summary) in ReportErrorSummary()
207 if (!common_flags()->print_summary) in ReportErrorSummary()
211 RenderFrame(&buff, "%L %F", 0, info, common_flags()->symbolize_vs_style, in ReportErrorSummary()
212 common_flags()->strip_path_prefix); in ReportErrorSummary()
284 if (!common_flags()->mmap_limit_mb) return; in IncreaseTotalMmap()
289 RAW_CHECK((total_mmaped >> 20) < common_flags()->mmap_limit_mb); in IncreaseTotalMmap()
293 if (!common_flags()->mmap_limit_mb) return; in DecreaseTotalMmap()
Dsanitizer_coverage_libcdep.cc213 if (common_flags()->coverage_direct) { in Enable()
220 if (common_flags()->coverage_pc_buffer) in Enable()
288 if (common_flags()->coverage_direct) { in ReInit()
318 if (!common_flags()->coverage_direct) return; in Extend()
395 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in BundlePcAndCounter()
405 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundlePc()
411 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundleCounter()
711 if (!common_flags()->coverage_counters) return; in DumpCounters()
735 if (!common_flags()->coverage_bitset) return; in DumpAsBitSet()
787 if (!common_flags()->html_cov_report) { in GenerateHtmlReport()
[all …]
Dsanitizer_tls_get_addr.cc74 if (!common_flags()->intercept_tls_get_addr) return; in DTLS_Destroy()
92 if (!common_flags()->intercept_tls_get_addr) return 0; in DTLS_on_tls_get_addr()
131 if (!common_flags()->intercept_tls_get_addr) return; in DTLS_on_libc_memalign()
Dsanitizer_termination.cc58 if (common_flags()->abort_on_error) in Die()
60 internal__exit(common_flags()->exitcode); in Die()
Dsanitizer_posix_libcdep.cc91 if (common_flags()->disable_coredump) { in DisableCoreDumperIfNecessary()
184 if (common_flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK; in MaybeInstallSigaction()
193 if (common_flags()->use_sigaltstack) SetAlternateSignalStack(); in InstallDeadlySignalHandlers()
243 if (!common_flags()->decorate_proc_maps) in GetNamedMappingFd()
/external/compiler-rt/lib/asan/
Dasan_flags.cc63 cf.CopyFrom(*common_flags()); in InitializeFlags()
124 if (common_flags()->help) { in InitializeFlags()
130 if (!CAN_SANITIZE_LEAKS && common_flags()->detect_leaks) { in InitializeFlags()
140 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
162 if (!f->replace_str && common_flags()->intercept_strlen) { in InitializeFlags()
166 if (!f->replace_str && common_flags()->intercept_strchr) { in InitializeFlags()
Dasan_stack.h88 common_flags()->fast_unwind_on_fatal)
94 common_flags()->fast_unwind_on_fatal)
97 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
100 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check)
106 GET_STACK_TRACE(GetMallocContextSize(), common_flags()->fast_unwind_on_malloc)
Dasan_rtl.cc99 if (common_flags()->no_huge_pages_for_shadow) in ReserveShadowMemoryRange()
101 if (common_flags()->use_madv_dontdump) in ReserveShadowMemoryRange()
392 (uptr)common_flags()->malloc_context_size); in PrintAddressSpaceLayout()
421 SetMallocContextSize(common_flags()->malloc_context_size); in AsanInitInternal()
435 __sanitizer_set_report_path(common_flags()->log_path); in AsanInitInternal()
516 allocator_options.SetFrom(flags(), common_flags()); in AsanInitInternal()
530 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in AsanInitInternal()
553 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) { in AsanInitInternal()
/external/compiler-rt/lib/ubsan/
Dubsan_init.cc41 __sanitizer_set_report_path(common_flags()->log_path); in CommonStandaloneInit()
42 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in CommonStandaloneInit()
Dubsan_flags.cc46 cf.CopyFrom(*common_flags()); in InitializeFlags()
65 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
Dubsan_diag.cc69 if (!common_flags()->print_summary) in MaybeReportErrorSummary()
145 SLoc.getColumn(), common_flags()->symbolize_vs_style, in RenderLocation()
146 common_flags()->strip_path_prefix); in RenderLocation()
156 common_flags()->symbolize_vs_style, in RenderLocation()
157 common_flags()->strip_path_prefix); in RenderLocation()
160 common_flags()->strip_path_prefix); in RenderLocation()
/external/compiler-rt/lib/scudo/
Dscudo_termination.cpp27 if (common_flags()->abort_on_error) in Die()
29 internal__exit(common_flags()->exitcode); in Die()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_mutex.cc95 if (common_flags()->detect_deadlocks) { in MutexDestroy()
172 if (common_flags()->detect_deadlocks && (s->recursion - rec) == 0) { in MutexLock()
183 if (common_flags()->detect_deadlocks) { in MutexLock()
215 if (common_flags()->detect_deadlocks && s->recursion == 0 && in MutexUnlock()
225 if (common_flags()->detect_deadlocks && !report_bad_unlock) { in MutexUnlock()
250 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadLock()
261 if (common_flags()->detect_deadlocks) { in MutexReadLock()
283 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadUnlock()
293 if (common_flags()->detect_deadlocks) { in MutexReadUnlock()
331 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadOrWriteUnlock()
[all …]
Dtsan_rtl_proc.cc29 if (common_flags()->detect_deadlocks) in ProcCreate()
41 if (common_flags()->detect_deadlocks) in ProcDestroy()
Dtsan_flags.cc62 cf.CopyFrom(*common_flags()); in InitializeFlags()
116 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
Dtsan_platform_posix.cc80 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory()
96 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory()
/external/compiler-rt/lib/esan/
Desan_flags.cpp52 if (common_flags()->help) in initializeFlags()
55 __sanitizer_set_report_path(common_flags()->log_path); in initializeFlags()
/external/compiler-rt/lib/msan/
Dmsan.h276 GetStackTrace(&stack, common_flags()->malloc_context_size, \
278 common_flags()->fast_unwind_on_malloc)
284 common_flags()->fast_unwind_on_malloc)
290 common_flags()->fast_unwind_on_fatal)
Dmsan_linux.cc146 if (common_flags()->use_madv_dontdump) in InitShadow()
165 if (common_flags()->exitcode) in MsanAtExit()
166 internal__exit(common_flags()->exitcode); in MsanAtExit()
/external/toolchain-utils/bestflags/
Dgenetic_algorithm.py115 common_flags = []
121 common_flags.append(self_flag)
135 for flag in common_flags:

123