Home
last modified time | relevance | path

Searched refs:Printf (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_report.cpp121 Printf("\n"); in PrintStack()
163 Printf(":\n"); in PrintMop()
252 Printf("\n"); in PrintThread()
259 Printf(" at:"); in PrintThread()
260 Printf("\n"); in PrintThread()
403 Printf("\n"); in PrintMop()
418 Printf("\n"); in PrintLocation()
429 Printf("\n"); in PrintLocation()
444 Printf("\n"); in PrintThread()
467 Printf("\n"); in PrintReport()
[all …]
H A Dtsan_platform_posix.cpp38 Printf(kShadowMemoryMappingWarning, SanitizerToolName, addr, addr + size, in DontDumpShadow()
40 Printf(kShadowMemoryMappingHint, "MADV_DONTDUMP", "use_madv_dontdump"); in DontDumpShadow()
49 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
50 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in InitializeShadowMemory()
66 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
67 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in InitializeShadowMemory()
91 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange()
92 Printf("FATAL: Make sure you are not using unlimited stack\n"); in ProtectRange()
108 Printf("FATAL: ThreadSanitizer: unexpected memory mapping 0x%zx-0x%zx\n", in CheckAndProtect()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cpp121 Printf("\n"); in PrintStack()
163 Printf(":\n"); in PrintMop()
246 Printf("\n"); in PrintThread()
253 Printf(" at:"); in PrintThread()
254 Printf("\n"); in PrintThread()
400 Printf("\n"); in PrintMop()
415 Printf("\n"); in PrintLocation()
426 Printf("\n"); in PrintLocation()
441 Printf("\n"); in PrintThread()
464 Printf("\n"); in PrintReport()
[all …]
H A Dtsan_platform_posix.cpp38 Printf(kShadowMemoryMappingWarning, SanitizerToolName, addr, addr + size, in DontDumpShadow()
40 Printf(kShadowMemoryMappingHint, "MADV_DONTDUMP", "use_madv_dontdump"); in DontDumpShadow()
49 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
50 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in InitializeShadowMemory()
66 Printf("FATAL: ThreadSanitizer can not mmap the shadow memory\n"); in InitializeShadowMemory()
67 Printf("FATAL: Make sure to compile with -fPIE and to link with -pie.\n"); in InitializeShadowMemory()
91 Printf("FATAL: ThreadSanitizer can not protect [%zx,%zx]\n", beg, end); in ProtectRange()
92 Printf("FATAL: Make sure you are not using unlimited stack\n"); in ProtectRange()
108 Printf("FATAL: ThreadSanitizer: unexpected memory mapping 0x%zx-0x%zx\n", in CheckAndProtect()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_report.cpp43 Printf("%s", d.Origin()); in DescribeStackOrigin()
44 Printf( in DescribeStackOrigin()
104 Printf("%s", d.Warning()); in ReportUMR()
106 Printf("%s", d.Default()); in ReportUMR()
219 Printf(" "); in DescribeMemoryRange()
224 Printf(".."); in DescribeMemoryRange()
242 Printf(" |"); in DescribeMemoryRange()
245 Printf("%c", c); in DescribeMemoryRange()
248 Printf("|"); in DescribeMemoryRange()
250 Printf("\n"); in DescribeMemoryRange()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_report.cpp342 Printf( in ShowHeapOrGlobalCandidate()
354 Printf( in ShowHeapOrGlobalCandidate()
360 Printf( in ShowHeapOrGlobalCandidate()
501 Printf( in PrintAddressDescription()
529 Printf("%s", s.data()); in PrintTagInfoAroundAddr()
533 Printf( in PrintTagsAroundAddr()
540 Printf( in PrintTagsAroundAddr()
553 Printf( in PrintTagsAroundAddr()
626 Printf( in ReportTailOverwritten()
670 Printf("%s", s.data()); in ReportTailOverwritten()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_errors.cpp48 Printf("%s", d.Error()); in Print()
52 Printf("%s", d.Default()); in Print()
63 Printf("%s", d.Error()); in Print()
69 Printf( in Print()
84 Printf( in Print()
103 Printf("%s", d.Error()); in Print()
124 Printf("%s", d.Error()); in Print()
142 Printf("%s", d.Error()); in Print()
155 Printf("%s", d.Error()); in Print()
353 Printf(" [1]:\n"); in Print()
[all …]
H A Dasan_rtl.cpp300 Printf("AddressSanitizer exit stats:\n"); in asan_atexit()
321 Printf("|| `[%p, %p]` || HighMem ||\n", in PrintAddressSpaceLayout()
323 Printf("|| `[%p, %p]` || HighShadow ||\n", in PrintAddressSpaceLayout()
327 Printf("|| `[%p, %p]` || ShadowGap3 ||\n", in PrintAddressSpaceLayout()
329 Printf("|| `[%p, %p]` || MidMem ||\n", in PrintAddressSpaceLayout()
336 Printf("|| `[%p, %p]` || ShadowGap ||\n", in PrintAddressSpaceLayout()
344 Printf("MemToShadow(shadow): %p %p", in PrintAddressSpaceLayout()
348 Printf(" %p %p", in PrintAddressSpaceLayout()
353 Printf(" %p %p", in PrintAddressSpaceLayout()
357 Printf("\n"); in PrintAddressSpaceLayout()
[all …]
H A Dasan_stats.cpp34 Printf("%s", prefix); in PrintMallocStatsArray()
37 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray()
39 Printf("\n"); in PrintMallocStatsArray()
43 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", in Print()
45 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); in Print()
46 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); in Print()
47 Printf("Stats: %zuM really freed by %zu calls\n", in Print()
49 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
54 Printf("Stats: malloc large: %zu\n", malloc_large); in Print()
128 Printf("Stats: StackDepot: %zd ids; %zdM allocated\n", in PrintAccumulatedStats()
H A Dasan_descriptions.cpp55 Printf("%s", str.data()); in DescribeThread()
60 Printf("%s", str.data()); in DescribeThread()
152 Printf("%s", str.data()); in PrintHeapChunkAccess()
183 Printf( in DescribeAddressIfHeap()
265 Printf("%s", str.data()); in PrintAccessAndVarIntersection()
298 Printf("%s", str.data()); in DescribeAddressRelativeToGlobal()
359 Printf("%s", d.Location()); in Print()
376 Printf("%s", d.Default()); in Print()
383 Printf( in Print()
401 Printf( in Print()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/optional/
H A Dsegv_handler_posix.cpp36 ScopedEndOfReportDecorator(gwp_asan::Printf_t Printf) : Printf(Printf) {} in ScopedEndOfReportDecorator()
38 gwp_asan::Printf_t Printf; member
44 Printf_t Printf) { in printHeader() argument
94 assert(Printf && "dumpReport missing Printf."); in dumpReport()
99 Printf("*** GWP-ASan detected a memory error ***\n"); in dumpReport()
100 ScopedEndOfReportDecorator Decorator(Printf); in dumpReport()
119 printHeader(E, ErrorPtr, AllocMeta, Printf); in dumpReport()
127 PrintBacktrace(Trace, TraceLength, Printf); in dumpReport()
141 PrintBacktrace(Trace, TraceLength, Printf); in dumpReport()
152 PrintBacktrace(Trace, TraceLength, Printf); in dumpReport()
[all …]
H A Doptions_parser.cpp25 #define InvokeIfNonNull(Printf, ...) \ argument
27 if (Printf) \
28 Printf(__VA_ARGS__); \
34 : Printf(PrintfForWarnings) {} in OptionParser()
58 gwp_asan::Printf_t Printf = nullptr; member in __anonebc1da5f0111::OptionParser
67 InvokeIfNonNull(Printf, "GWP-ASan: Available options:\n"); in printOptionDescriptions()
69 InvokeIfNonNull(Printf, "\t%s\n\t\t- %s\n", Options[I].Name, in printOptionDescriptions()
92 InvokeIfNonNull(Printf, "GWP-ASan: Expected '=' when parsing option '%s'.", in parseOption()
103 InvokeIfNonNull(Printf, "GWP-ASan: Unterminated string in option '%s'.", in parseOption()
124 InvokeIfNonNull(Printf, "GWP-ASan: Options parsing failed.\n"); in parseOptions()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerLoop.cpp118 Printf("FREE[%zd] %p\n", N, ptr); in FreeHook()
312 Printf( in RssLimitCallback()
330 Printf(" cov: %zd", N); in PrintStats()
332 Printf(" ft: %zd", N); in PrintStats()
337 Printf("/%zdb", N); in PrintStats()
339 Printf("/%zdKb", N >> 10); in PrintStats()
341 Printf("/%zdMb", N >> 20); in PrintStats()
344 Printf(" focus: %zd", FF); in PrintStats()
349 Printf(" units: %zd", Units); in PrintStats()
353 Printf("%s", End); in PrintStats()
[all …]
H A DFuzzerDriver.cpp93 Printf("Usage:\n"); in PrintHelp()
109 Printf(" %s", D.Name); in PrintHelp()
111 Printf(" "); in PrintHelp()
112 Printf("\t"); in PrintHelp()
165 Printf("Flag: %s %d\n", Name, Val); in ParseOneFlag()
226 Printf("pulse...\n"); in PulseThread()
241 Printf("%s\n", CommandLine.c_str()); in WorkerThread()
460 Printf("%s", CmdOutput.c_str()); in MinimizeCrashInput()
594 Printf("\""); in AnalyzeDictionary()
798 Printf("INFO: Seed: %u\n", Seed); in FuzzerDriver()
[all …]
/llvm-project-15.0.7/lldb/source/Core/
H A DDumpDataExtractor.cpp194 s.Printf("\\e"); in TryDumpSpecialEscapedChar()
197 s.Printf("\\a"); in TryDumpSpecialEscapedChar()
200 s.Printf("\\b"); in TryDumpSpecialEscapedChar()
203 s.Printf("\\f"); in TryDumpSpecialEscapedChar()
206 s.Printf("\\n"); in TryDumpSpecialEscapedChar()
209 s.Printf("\\r"); in TryDumpSpecialEscapedChar()
212 s.Printf("\\t"); in TryDumpSpecialEscapedChar()
215 s.Printf("\\v"); in TryDumpSpecialEscapedChar()
218 s.Printf("\\0"); in TryDumpSpecialEscapedChar()
234 s.Printf("\\x%2.2x", c); in DumpCharacter()
[all …]
H A DDeclaration.cpp22 s->Printf(":%u", m_line); in Dump()
24 s->Printf(":%u", m_column); in Dump()
27 s->Printf(", line = %u", m_line); in Dump()
29 s->Printf(":%u", m_column); in Dump()
31 s->Printf(", column = %u", m_column); in Dump()
43 s->Printf(":%u", m_line); in DumpStopContext()
45 s->Printf(":%u", m_column); in DumpStopContext()
48 s->Printf(" line %u", m_line); in DumpStopContext()
50 s->Printf(":%u", m_column); in DumpStopContext()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_rtl.cpp96 Printf("MemProfiler exit stats:\n"); in memprof_atexit()
109 Printf("|| `[%p, %p]` || HighMem ||\n", (void *)kHighMemBeg, in PrintAddressSpaceLayout()
114 Printf("|| `[%p, %p]` || ShadowGap ||\n", (void *)kShadowGapBeg, in PrintAddressSpaceLayout()
117 Printf("|| `[%p, %p]` || LowShadow ||\n", (void *)kLowShadowBeg, in PrintAddressSpaceLayout()
119 Printf("|| `[%p, %p]` || LowMem ||\n", (void *)kLowMemBeg, in PrintAddressSpaceLayout()
125 Printf(" %p %p", (void *)MEM_TO_SHADOW(kHighShadowBeg), in PrintAddressSpaceLayout()
128 Printf("\n"); in PrintAddressSpaceLayout()
129 Printf("malloc_context_size=%zu\n", in PrintAddressSpaceLayout()
132 Printf("SHADOW_SCALE: %d\n", (int)SHADOW_SCALE); in PrintAddressSpaceLayout()
133 Printf("SHADOW_GRANULARITY: %d\n", (int)SHADOW_GRANULARITY); in PrintAddressSpaceLayout()
[all …]
H A Dmemprof_stats.cpp33 Printf("%s", prefix); in PrintMallocStatsArray()
37 Printf("%zu:%zu; ", i, array[i]); in PrintMallocStatsArray()
39 Printf("\n"); in PrintMallocStatsArray()
43 Printf("Stats: %zuM malloced (%zuM for overhead) by %zu calls\n", in Print()
45 Printf("Stats: %zuM realloced by %zu calls\n", realloced >> 20, reallocs); in Print()
46 Printf("Stats: %zuM freed by %zu calls\n", freed >> 20, frees); in Print()
47 Printf("Stats: %zuM really freed by %zu calls\n", really_freed >> 20, in Print()
49 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", in Print()
54 Printf("Stats: malloc large: %zu\n", malloc_large); in Print()
119 Printf("Stats: StackDepot: %zd ids; %zdM allocated\n", in PrintAccumulatedStats()
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanRunToAddress.cpp92 s->Printf("run to address with no addresses given."); in GetDescription()
95 s->Printf("run to address: "); in GetDescription()
97 s->Printf("run to addresses: "); in GetDescription()
101 s->Printf(" "); in GetDescription()
105 s->Printf("run to address with no addresses given."); in GetDescription()
108 s->Printf("Run to address: "); in GetDescription()
110 s->Printf("Run to addresses: "); in GetDescription()
115 s->Printf("\n"); in GetDescription()
120 s->Printf(" using breakpoint: %d - ", m_break_ids[i]); in GetDescription()
126 s->Printf("but the breakpoint has been deleted."); in GetDescription()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dprintf-cstr.cpp71 struct Printf { struct
72 Printf();
73 Printf(const Printf&);
74 Printf(const char *,...) __attribute__((__format__(__printf__,2,3)));
80Printf p("%s %d %s", str, 10, 10); // expected-warning {{format specifies type 'char *' but the ar… in constructor_test()
81 Printf q("%s %d", hcs, 10); in constructor_test()
/llvm-project-15.0.7/lldb/source/Symbol/
H A DUnwindPlan.cpp164 s.Printf("reg(%u)", reg_num); in DumpRegisterName()
235 s.Printf(" AFA="); in Dump()
239 s.Printf(" => "); in Dump()
514 s.Printf("yes.\n"); in Dump()
517 s.Printf("no.\n"); in Dump()
520 s.Printf("not specified.\n"); in Dump()
526 s.Printf("yes.\n"); in Dump()
529 s.Printf("no.\n"); in Dump()
538 s.Printf("yes.\n"); in Dump()
541 s.Printf("no.\n"); in Dump()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DCoreMedia.cpp54 stream.Printf("indefinite"); in CMTimeSummaryProvider()
59 stream.Printf("+oo"); in CMTimeSummaryProvider()
64 stream.Printf("-oo"); in CMTimeSummaryProvider()
75 stream.Printf("%" PRId64 " seconds", value); in CMTimeSummaryProvider()
78 stream.Printf("%" PRId64 " half seconds", value); in CMTimeSummaryProvider()
81 stream.Printf("%" PRId64 " third%sof a second", value, in CMTimeSummaryProvider()
85 stream.Printf("%" PRId64 " %" PRId32 "th%sof a second", value, timescale, in CMTimeSummaryProvider()
/llvm-project-15.0.7/lldb/source/Expression/
H A DREPL.cpp105 error_sp->Printf("REPL requires a running target process.\n"); in IOHandlerActivated()
203 error_sp->Printf("file at path '%s' too large: " in ReadCode()
383 error_sp->Printf("%s\n", error.AsCString()); in IOHandlerInputComplete()
391 error_sp->Printf(ANSI_ESCAPE1(ANSI_CTRL_BOLD)); in IOHandlerInputComplete()
393 error_sp->Printf("Execution interrupted. "); in IOHandlerInputComplete()
395 error_sp->Printf(ANSI_ESCAPE1(ANSI_CTRL_NORMAL)); in IOHandlerInputComplete()
405 error_sp->Printf(ANSI_ESCAPE1(ANSI_CTRL_BOLD)); in IOHandlerInputComplete()
409 error_sp->Printf(ANSI_ESCAPE1(ANSI_CTRL_NORMAL)); in IOHandlerInputComplete()
422 error_sp->Printf("error: timeout\n"); in IOHandlerInputComplete()
476 output_sp->Printf("\n"); in IOHandlerInputComplete()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/PECOFF/
H A DObjectFilePECOFF.cpp1139 s->Printf("%p: ", static_cast<void *>(this)); in Dump()
1210 s->Printf(" nsects = 0x%4.4x\n", header.nsects); in DumpCOFFHeader()
1212 s->Printf(" symoff = 0x%8.8x\n", header.symoff); in DumpCOFFHeader()
1213 s->Printf(" nsyms = 0x%8.8x\n", header.nsyms); in DumpCOFFHeader()
1224 s->Printf(" major_linker_version = 0x%2.2x\n", in DumpOptCOFFHeader()
1226 s->Printf(" minor_linker_version = 0x%2.2x\n", in DumpOptCOFFHeader()
1238 s->Printf(" major_os_system_version = 0x%4.4x\n", in DumpOptCOFFHeader()
1240 s->Printf(" minor_os_system_version = 0x%4.4x\n", in DumpOptCOFFHeader()
1242 s->Printf(" major_image_version = 0x%4.4x\n", in DumpOptCOFFHeader()
1244 s->Printf(" minor_image_version = 0x%4.4x\n", in DumpOptCOFFHeader()
[all …]
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectHelp.cpp31 s->Printf("'%s' is not a known command.\n", command_str.c_str()); in GenerateAdditionalHelpAvenuesMessage()
32 s->Printf("Try '%shelp' to see a current list of commands.\n", in GenerateAdditionalHelpAvenuesMessage()
35 s->Printf("Try '%sapropos %s' for a list of related commands.\n", in GenerateAdditionalHelpAvenuesMessage()
39 s->Printf("Try '%stype lookup %s' for information on types, methods, " in GenerateAdditionalHelpAvenuesMessage()
138 s.Printf("ambiguous command %s", cmd_string.c_str()); in DoExecute()
141 s.Printf("\n\t%s", matches.GetStringAtIndex(match_idx)); in DoExecute()
143 s.Printf("\n"); in DoExecute()
157 result.GetOutputStream().Printf( in DoExecute()
171 result.GetOutputStream().Printf("\n'%s' is an abbreviation for %s\n", in DoExecute()
176 output_strm.Printf("Help requested with ambiguous command name, possible " in DoExecute()
[all …]

12345678910>>...19