Lines Matching refs:ToolName
59 static void ReadProfilingData(const char *ToolName, FILE *F,
63 report_fatal_error(Twine(ToolName) + ": Profiling data truncated");
68 static unsigned ReadProfilingNumEntries(const char *ToolName, FILE *F,
71 ReadProfilingData<unsigned>(ToolName, F, &Entry, 1);
77 static void ReadProfilingBlock(const char *ToolName, FILE *F,
81 unsigned NumEntries = ReadProfilingNumEntries(ToolName, F, ShouldByteSwap);
85 ReadProfilingData<unsigned>(ToolName, F, TempSpace.data(), NumEntries);
100 static void ReadProfilingArgBlock(const char *ToolName, FILE *F,
104 unsigned ArgLength = ReadProfilingNumEntries(ToolName, F, ShouldByteSwap);
110 ReadProfilingData<char>(ToolName, F, Args.data(), (ArgLength+3) & ~3);
120 ProfileDataLoader::ProfileDataLoader(const char *ToolName,
125 report_fatal_error(Twine(ToolName) + ": Error opening '" +
140 ReadProfilingArgBlock(ToolName, F, ShouldByteSwap, CommandLines);
144 ReadProfilingBlock(ToolName, F, ShouldByteSwap, EdgeCounts);
148 report_fatal_error(std::string(ToolName)