Home
last modified time | relevance | path

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

123

/external/compiler-rt/lib/lsan/
Dlsan.cc43 cf.CopyFrom(*common_flags()); in InitializeFlags()
60 SetVerbosity(common_flags()->verbosity); in InitializeFlags()
64 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
85 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) in __lsan_init()
88 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in __lsan_init()
Dlsan.h32 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
35 GET_STACK_TRACE(__sanitizer::common_flags()->malloc_context_size, \
36 common_flags()->fast_unwind_on_malloc)
Dlsan_common.cc96 if (common_flags()->detect_leaks) { in InitCommonLsan()
433 if (common_flags()->print_suppressions) in CheckForLeaks()
451 if (common_flags()->exitcode) { in DoLeakCheck()
628 if (!common_flags()->detect_leaks) in __lsan_ignore_object()
692 if (!__lsan::disable_counter && common_flags()->detect_leaks) { in __lsan_enable()
703 if (common_flags()->detect_leaks) in __lsan_do_leak_check()
711 if (common_flags()->detect_leaks) in __lsan_do_recoverable_leak_check()
/external/v8/build/config/ios/
DBUILD.gn13 common_flags = [
21 common_flags += [ "-mios-simulator-version-min=$ios_deployment_target" ]
23 common_flags += [ "-miphoneos-version-min=$ios_deployment_target" ]
26 asmflags = common_flags
27 cflags = common_flags
28 ldflags = common_flags
/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()
147 if (!common_flags()->hard_rss_limit_mb && in MaybeStartBackgroudThread()
148 !common_flags()->soft_rss_limit_mb) return; in MaybeStartBackgroudThread()
Dsanitizer_common.cc61 if (common_flags()->log_exe_name && exe_name) { in ReopenIfNecessary()
146 if (common_flags()->abort_on_error) in Die()
148 internal__exit(common_flags()->exitcode); in Die()
282 if (!common_flags()->print_summary) in ReportErrorSummary()
291 if (!common_flags()->print_summary) in ReportErrorSummary()
295 RenderFrame(&buff, "%L %F", 0, info, common_flags()->symbolize_vs_style, in ReportErrorSummary()
296 common_flags()->strip_path_prefix); in ReportErrorSummary()
369 if (!common_flags()->mmap_limit_mb) return; in IncreaseTotalMmap()
374 RAW_CHECK((total_mmaped >> 20) < common_flags()->mmap_limit_mb); in IncreaseTotalMmap()
378 if (!common_flags()->mmap_limit_mb) return; in DecreaseTotalMmap()
Dsanitizer_stacktrace_libcdep.cc37 RenderFrame(&frame_desc, common_flags()->stack_trace_format, frame_num++, in Print()
38 cur->info, common_flags()->symbolize_vs_style, in Print()
39 common_flags()->strip_path_prefix); in Print()
Dsanitizer_coverage_libcdep.cc206 if (common_flags()->coverage_direct) { in Enable()
272 if (common_flags()->coverage_direct) { in ReInit()
302 if (!common_flags()->coverage_direct) return; in Extend()
379 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in BundlePcAndCounter()
389 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundlePc()
395 if (SANITIZER_WORDSIZE != 64 || !common_flags()->coverage_order_pcs) in UnbundleCounter()
694 if (!common_flags()->coverage_counters) return; in DumpCounters()
718 if (!common_flags()->coverage_bitset) return; in DumpAsBitSet()
747 if (!common_flags()->coverage_pcs) return; in DumpOffsets()
802 if (!coverage_enabled || common_flags()->coverage_direct) return; in DumpAll()
[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_posix_libcdep.cc90 if (common_flags()->disable_coredump) { in DisableCoreDumperIfNecessary()
179 if (common_flags()->use_sigaltstack) sigact.sa_flags |= SA_ONSTACK; in MaybeInstallSigaction()
188 if (common_flags()->use_sigaltstack) SetAlternateSignalStack(); in InstallDeadlySignalHandlers()
238 if (!common_flags()->decorate_proc_maps) in GetNamedMappingFd()
/external/compiler-rt/lib/asan/
Dasan_stack.h85 common_flags()->fast_unwind_on_fatal)
91 common_flags()->fast_unwind_on_fatal)
94 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
97 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check)
103 GET_STACK_TRACE(GetMallocContextSize(), common_flags()->fast_unwind_on_malloc)
Dasan_flags.cc63 cf.CopyFrom(*common_flags()); in InitializeFlags()
119 SetVerbosity(common_flags()->verbosity); 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()
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()
420 SetMallocContextSize(common_flags()->malloc_context_size); in AsanInitInternal()
432 __sanitizer_set_report_path(common_flags()->log_path); in AsanInitInternal()
507 allocator_options.SetFrom(flags(), common_flags()); in AsanInitInternal()
521 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in AsanInitInternal()
544 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) { in AsanInitInternal()
Dasan_activation.cc99 asan_deactivated_flags.coverage = common_flags()->coverage; in AsanDeactivate()
100 asan_deactivated_flags.coverage_dir = common_flags()->coverage_dir; in AsanDeactivate()
/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()
62 SetVerbosity(common_flags()->verbosity); in InitializeFlags()
65 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
Dubsan_diag.cc69 if (!common_flags()->print_summary) in MaybeReportErrorSummary()
148 SLoc.getColumn(), common_flags()->symbolize_vs_style, in renderLocation()
149 common_flags()->strip_path_prefix); in renderLocation()
159 common_flags()->symbolize_vs_style, in renderLocation()
160 common_flags()->strip_path_prefix); in renderLocation()
163 common_flags()->strip_path_prefix); in renderLocation()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_flags.cc62 cf.CopyFrom(*common_flags()); in InitializeFlags()
111 SetVerbosity(common_flags()->verbosity); in InitializeFlags()
115 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
Dtsan_rtl_mutex.cc102 if (common_flags()->detect_deadlocks) { in MutexDestroy()
171 if (common_flags()->detect_deadlocks && (s->recursion - rec) == 0) { in MutexLock()
182 if (common_flags()->detect_deadlocks) { in MutexLock()
214 if (common_flags()->detect_deadlocks && s->recursion == 0 && in MutexUnlock()
224 if (common_flags()->detect_deadlocks && !report_bad_unlock) { in MutexUnlock()
249 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadLock()
260 if (common_flags()->detect_deadlocks) { in MutexReadLock()
282 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadUnlock()
292 if (common_flags()->detect_deadlocks) { in MutexReadUnlock()
330 if (common_flags()->detect_deadlocks && s->recursion == 0) { in MutexReadOrWriteUnlock()
[all …]
Dtsan_platform_posix.cc80 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory()
96 if (common_flags()->use_madv_dontdump) in InitializeShadowMemory()
Dtsan_report.cc128 RenderFrame(&res, common_flags()->stack_trace_format, i, frame->info, in PrintStack()
129 common_flags()->symbolize_vs_style, in PrintStack()
130 common_flags()->strip_path_prefix, kInterposedFunctionPrefix); in PrintStack()
375 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()
/external/v8/build/config/mac/
DBUILD.gn57 common_flags = [
63 asmflags = common_flags
64 cflags = common_flags
65 ldflags = common_flags
/external/compiler-rt/lib/msan/
Dmsan.cc139 cf.CopyFrom(*common_flags()); in InitializeFlags()
181 SetVerbosity(common_flags()->verbosity); in InitializeFlags()
185 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
193 cf.CopyFrom(*common_flags()); in InitializeFlags()
383 __sanitizer_set_report_path(common_flags()->log_path); in __msan_init()
412 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in __msan_init()
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()

123