Home
last modified time | relevance | path

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

12345678910>>...127

/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)
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan.cpp59 cf.CopyFrom(*common_flags()); in InitializeFlags()
84 if (common_flags()->help) parser.PrintFlagDescriptions(); in InitializeFlags()
86 __sanitizer_set_report_path(common_flags()->log_path); in InitializeFlags()
107 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) in __lsan_init()
110 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in __lsan_init()
Dlsan.h29 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
32 GET_STACK_TRACE(__sanitizer::common_flags()->malloc_context_size, \
33 common_flags()->fast_unwind_on_malloc)
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace_libcdep.cpp28 int dedup_frames = common_flags()->dedup_token_length; in Print()
29 bool symbolize = RenderNeedsSymbolization(common_flags()->stack_trace_format); in Print()
43 RenderFrame(&frame_desc, common_flags()->stack_trace_format, frame_num++, in Print()
45 common_flags()->symbolize_vs_style, in Print()
46 common_flags()->strip_path_prefix); in Print()
137 common_flags()->symbolize_vs_style, in __sanitizer_symbolize_pc()
138 common_flags()->strip_path_prefix); in __sanitizer_symbolize_pc()
160 RenderData(&data_desc, fmt, &DI, common_flags()->strip_path_prefix); in __sanitizer_symbolize_global()
Dsanitizer_common_libcdep.cpp34 const uptr hard_rss_limit_mb = common_flags()->hard_rss_limit_mb; in BackgroundThread()
35 const uptr soft_rss_limit_mb = common_flags()->soft_rss_limit_mb; in BackgroundThread()
36 const bool heap_profile = common_flags()->heap_profile; in BackgroundThread()
119 if (!common_flags()->hard_rss_limit_mb && in MaybeStartBackgroudThread()
120 !common_flags()->soft_rss_limit_mb && in MaybeStartBackgroudThread()
121 !common_flags()->heap_profile) return; in MaybeStartBackgroudThread()
160 if (madvise_shadow && common_flags()->use_madv_dontdump) in ReserveShadowMemoryRange()
Dsanitizer_symbolizer_report.cpp33 if (!common_flags()->print_summary) return; in ReportErrorSummary()
37 common_flags()->symbolize_vs_style, in ReportErrorSummary()
38 common_flags()->strip_path_prefix); in ReportErrorSummary()
68 const char *flag = common_flags()->color; in ColorizeReports()
76 if (!common_flags()->print_summary) in ReportErrorSummary()
106 bool fast = common_flags()->fast_unwind_on_fatal; in ReportMmapWriteExec()
151 if (!common_flags()->dump_instruction_bytes || (pc < GetPageSizeCached())) in MaybeDumpInstructionBytes()
167 if (!common_flags()->dump_registers) return; in MaybeDumpRegisters()
278 internal__exit(common_flags()->exitcode); in ScopedErrorReportLock()
Dsanitizer_coverage_fuchsia.cpp71 if (end > start && *start == 0 && common_flags()->coverage) { in InitTracePcGuard()
127 DCHECK(common_flags()->coverage); in Setup()
197 CHECK_EQ(enabled, common_flags()->coverage); in InitializeCoverage()
198 CHECK_EQ(dir, common_flags()->coverage_dir); in InitializeCoverage()
/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 …]
/external/llvm-project/compiler-rt/lib/asan/
Dasan_flags.cpp55 cf.CopyFrom(*common_flags()); in InitializeFlags()
132 if (common_flags()->help) { in InitializeFlags()
138 if (!CAN_SANITIZE_LEAKS && common_flags()->detect_leaks) { in InitializeFlags()
151 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
192 if (!f->replace_str && common_flags()->intercept_strlen) { in InitializeFlags()
196 if (!f->replace_str && common_flags()->intercept_strchr) { in InitializeFlags()
200 if (!f->replace_str && common_flags()->intercept_strndup) { in InitializeFlags()
Dasan_stack.h52 common_flags()->fast_unwind_on_fatal)
55 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
58 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check)
64 GET_STACK_TRACE(GetMallocContextSize(), common_flags()->fast_unwind_on_malloc)
Dasan_rtl.cpp48 if (common_flags()->print_module_map >= 1) in AsanDie()
374 (uptr)common_flags()->malloc_context_size); in PrintAddressSpaceLayout()
424 SetMallocContextSize(common_flags()->malloc_context_size); in AsanInitInternal()
438 __sanitizer_set_report_path(common_flags()->log_path); in AsanInitInternal()
470 allocator_options.SetFrom(flags(), common_flags()); in AsanInitInternal()
486 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in AsanInitInternal()
504 if (common_flags()->detect_leaks && common_flags()->leak_check_at_exit) { in AsanInitInternal()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_rtl.cpp43 if (common_flags()->print_module_map >= 1) in MemprofDie()
138 (uptr)common_flags()->malloc_context_size); in PrintAddressSpaceLayout()
168 SetMallocContextSize(common_flags()->malloc_context_size); in MemprofInitInternal()
181 if (__memprof_profile_filename[0] != 0 && !common_flags()->log_path) in MemprofInitInternal()
184 __sanitizer_set_report_path(common_flags()->log_path); in MemprofInitInternal()
215 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in MemprofInitInternal()
Dmemprof_stack.h51 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_fatal)
54 GET_STACK_TRACE(kStackTraceMax, common_flags()->fast_unwind_on_check)
59 GET_STACK_TRACE(GetMallocContextSize(), common_flags()->fast_unwind_on_malloc)
Dmemprof_flags.cpp51 cf.CopyFrom(*common_flags()); in InitializeFlags()
82 if (common_flags()->help) { in InitializeFlags()
86 CHECK_LE((uptr)common_flags()->malloc_context_size, kStackTraceMax); in InitializeFlags()
/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/llvm-project/compiler-rt/lib/ubsan/
Dubsan_init.cpp41 __sanitizer_set_report_path(common_flags()->log_path); in CommonStandaloneInit()
43 InitializeCoverage(common_flags()->coverage, common_flags()->coverage_dir); in CommonStandaloneInit()
/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()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_termination.cpp28 if (common_flags()->abort_on_error) in Die()
30 internal__exit(common_flags()->exitcode); in Die()
/external/compiler-rt/lib/scudo/
Dscudo_termination.cpp27 if (common_flags()->abort_on_error) in Die()
29 internal__exit(common_flags()->exitcode); in Die()

12345678910>>...127