| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | LLDBLog.h | 19 API = Log::ChannelFlag<0>, 20 AST = Log::ChannelFlag<1>, 22 Commands = Log::ChannelFlag<3>, 28 Events = Log::ChannelFlag<9>, 30 Host = Log::ChannelFlag<11>, 33 MMap = Log::ChannelFlag<14>, 35 Object = Log::ChannelFlag<16>, 36 OS = Log::ChannelFlag<17>, 40 State = Log::ChannelFlag<21>, 41 Step = Log::ChannelFlag<22>, [all …]
|
| H A D | Log.h | 115 class Log final { 147 std::atomic<Log *> log_ptr; 148 friend class Log; variable 167 Log *GetLog(MaskType mask) { in GetLog() 214 Log(Channel &channel) : m_channel(channel) {} in Log() function 215 ~Log() = default; 285 typedef llvm::StringMap<Log> ChannelMap; 289 const Log::ChannelMap::value_type &entry, 297 Log(const Log &) = delete; 298 void operator=(const Log &) = delete; [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/MacOSX-Kernel/ |
| H A D | ProcessKDPLog.h | 17 enum class KDPLog : Log::MaskType { 18 Async = Log::ChannelFlag<0>, 19 Breakpoints = Log::ChannelFlag<1>, 20 Comm = Log::ChannelFlag<2>, 23 Memory = Log::ChannelFlag<5>, // Log memory reads/writes calls 24 Packets = Log::ChannelFlag<6>, 25 Process = Log::ChannelFlag<7>, 26 Step = Log::ChannelFlag<8>, 27 Thread = Log::ChannelFlag<9>, 28 Watchpoints = Log::ChannelFlag<10>, [all …]
|
| H A D | ProcessKDPLog.cpp | 13 static constexpr Log::Category g_categories[] = { 32 static Log::Channel g_channel(g_categories, KDPLog::Packets); 34 template <> Log::Channel &lldb_private::LogChannelFor<KDPLog>() { in LogChannelFor() 38 void ProcessKDPLog::Initialize() { Log::Register("kdp-remote", g_channel); } in Initialize()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | ProcessGDBRemoteLog.h | 18 enum class GDBRLog : Log::MaskType { 19 Async = Log::ChannelFlag<0>, 20 Breakpoints = Log::ChannelFlag<1>, 21 Comm = Log::ChannelFlag<2>, 22 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls 25 Packets = Log::ChannelFlag<6>, 26 Process = Log::ChannelFlag<7>, 27 Step = Log::ChannelFlag<8>, 28 Thread = Log::ChannelFlag<9>, 29 Watchpoints = Log::ChannelFlag<10>, [all …]
|
| H A D | ProcessGDBRemoteLog.cpp | 17 static constexpr Log::Category g_categories[] = { 36 static Log::Channel g_channel(g_categories, GDBRLog::Packets); 38 template <> Log::Channel &lldb_private::LogChannelFor<GDBRLog>() { in LogChannelFor() 45 Log::Register("gdb-remote", g_channel); in Initialize()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | ProcessWindowsLog.h | 17 enum class WindowsLog : Log::MaskType { 18 Breakpoints = Log::ChannelFlag<0>, // Log breakpoint operations 19 Event = Log::ChannelFlag<1>, // Low level debug events 20 Exception = Log::ChannelFlag<2>, // Log exceptions 21 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls 22 Process = Log::ChannelFlag<4>, // Log process operations 23 Registers = Log::ChannelFlag<5>, // Log register operations 24 Step = Log::ChannelFlag<6>, // Log step operations 25 Thread = Log::ChannelFlag<7>, // Log thread operations 36 template <> Log::Channel &LogChannelFor<WindowsLog>();
|
| H A D | ProcessWindowsLog.cpp | 13 static constexpr Log::Category g_categories[] = { 24 static Log::Channel g_channel(g_categories, WindowsLog::Process); 26 template <> Log::Channel &lldb_private::LogChannelFor<WindowsLog>() { in LogChannelFor() 32 llvm::call_once(g_once_flag, []() { Log::Register("windows", g_channel); }); in Initialize()
|
| H A D | DebuggerThread.cpp | 51 Log *log = GetLog(WindowsLog::Process); in DebugLaunch() 68 Log *log = GetLog(WindowsLog::Process); in DebugAttach() 90 Log *log = GetLog(WindowsLog::Process); in DebuggerThreadLaunchRoutine() 117 Log *log = GetLog(WindowsLog::Process); in DebuggerThreadAttachRoutine() 140 Log *log = GetLog(WindowsLog::Process); in StopDebugging() 232 Log *log = GetLog(WindowsLog::Event); in DebugLoop() 356 Log *log = GetLog(WindowsLog::Event | WindowsLog::Thread); in HandleCreateThreadEvent() 396 Log *log = GetLog(WindowsLog::Event | WindowsLog::Thread); in HandleExitThreadEvent() 473 Log *log = GetLog(WindowsLog::Event); in HandleLoadDllEvent() 524 Log *log = GetLog(WindowsLog::Event); in HandleUnloadDllEvent() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/POSIX/ |
| H A D | ProcessPOSIXLog.h | 18 enum class POSIXLog : Log::MaskType { 19 Breakpoints = Log::ChannelFlag<0>, 20 Memory = Log::ChannelFlag<1>, 21 Process = Log::ChannelFlag<2>, 22 Ptrace = Log::ChannelFlag<3>, 23 Registers = Log::ChannelFlag<4>, 24 Thread = Log::ChannelFlag<5>, 25 Watchpoints = Log::ChannelFlag<6>, 26 Trace = Log::ChannelFlag<7>, 36 template <> Log::Channel &LogChannelFor<POSIXLog>();
|
| H A D | ProcessPOSIXLog.cpp | 15 static constexpr Log::Category g_categories[] = { 25 static Log::Channel g_channel(g_categories, POSIXLog::Process); 27 template <> Log::Channel &lldb_private::LogChannelFor<POSIXLog>() { in LogChannelFor() 33 llvm::call_once(g_once_flag, []() { Log::Register("posix", g_channel); }); in Initialize()
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | Log.cpp | 43 llvm::ManagedStatic<Log::ChannelMap> Log::g_channel_map; 45 void Log::ForEachCategory( in ForEachCategory() 46 const Log::ChannelMap::value_type &entry, in ForEachCategory() 105 void Log::Disable(uint32_t flags) { in Disable() 125 const Flags Log::GetOptions() const { in GetOptions() 129 const Flags Log::GetMask() const { in GetMask() 137 void Log::Printf(const char *format, ...) { in Printf() 161 void Log::Error(const char *format, ...) { in Error() 268 void Log::DisableAllLogChannels() { in DisableAllLogChannels() 273 void Log::ForEachChannelCategory( in ForEachChannelCategory() [all …]
|
| H A D | LLDBLog.cpp | 16 static constexpr Log::Category g_categories[] = { 68 static Log::Channel g_log_channel(g_categories, 76 template <> Log::Channel &lldb_private::LogChannelFor<LLDBLog>() { in LogChannelFor() 81 Log::Register("lldb", g_log_channel); in InitializeLldbChannel()
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | LogTest.cpp | 22 enum class TestChannel : Log::MaskType { 23 FOO = Log::ChannelFlag<0>, 24 BAR = Log::ChannelFlag<1>, 74 Log::Unregister("chan"); in TearDownTestCase() 95 Log *m_log; 100 Log *getLog() { return m_log; } in getLog() 140 Log *log = nullptr; in TEST() 146 Log::Register("chan", test_channel); in TEST() 147 Log::Unregister("chan"); in TEST() 149 Log::Unregister("chan"); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | LogChannelDWARF.h | 17 enum class DWARFLog : Log::MaskType { 18 DebugInfo = Log::ChannelFlag<0>, 19 DebugLine = Log::ChannelFlag<1>, 20 DebugMap = Log::ChannelFlag<2>, 21 Lookups = Log::ChannelFlag<3>, 22 TypeCompletion = Log::ChannelFlag<4>, 33 template <> Log::Channel &LogChannelFor<DWARFLog>();
|
| H A D | LogChannelDWARF.cpp | 13 static constexpr Log::Category g_categories[] = { 25 static Log::Channel g_channel(g_categories, DWARFLog::DebugInfo); 27 template <> Log::Channel &lldb_private::LogChannelFor<DWARFLog>() { in LogChannelFor() 32 Log::Register("dwarf", g_channel); in Initialize() 35 void LogChannelDWARF::Terminate() { Log::Unregister("dwarf"); } in Terminate()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndexHigh.cpp | 414 if (Log) in clang_findReferencesInFile() 419 if (Log) in clang_findReferencesInFile() 424 if (Log) in clang_findReferencesInFile() 425 *Log << "Null file"; in clang_findReferencesInFile() 429 if (Log) in clang_findReferencesInFile() 434 if (Log) in clang_findReferencesInFile() 465 if (Log) in clang_findReferencesInFile() 487 if (Log) in clang_findIncludesInFile() 488 *Log << "Null file"; in clang_findIncludesInFile() 492 if (Log) in clang_findIncludesInFile() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-diff/lib/ |
| H A D | DiffConsumer.cpp | 164 void DiffConsumer::logf(const LogBuilder &Log) { in logf() argument 170 StringRef format = Log.getFormat(); in logf() 183 case 'l': printValue(Log.getArgument(arg++), true); break; in logf() 184 case 'r': printValue(Log.getArgument(arg++), false); break; in logf() 194 void DiffConsumer::logd(const DiffLogBuilder &Log) { in logd() argument 197 for (unsigned I = 0, E = Log.getNumLines(); I != E; ++I) { in logd() 199 switch (Log.getLineKind(I)) { in logd() 202 Log.getLeft(I)->print(dbgs()); dbgs() << '\n'; in logd() 207 Log.getLeft(I)->print(dbgs()); dbgs() << '\n'; in logd() 212 Log.getRight(I)->print(dbgs()); dbgs() << '\n'; in logd()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | DwarfTransformer.cpp | 250 static void convertFunctionLineTable(raw_ostream &Log, CUInfo &CUI, in convertFunctionLineTable() argument 295 Die.dump(Log, 0, DIDumpOptions::getForSingleDIE()); in convertFunctionLineTable() 314 Die.dump(Log, 0, DIDumpOptions::getForSingleDIE()); in convertFunctionLineTable() 318 Log << "error: line table has addresses that do not " in convertFunctionLineTable() 321 CUI.LineTable->Rows[RowIndex2].dump(Log); in convertFunctionLineTable() 323 Die.dump(Log, 0, DIDumpOptions::getForSingleDIE()); in convertFunctionLineTable() 453 handleDie(Log, CUI, Die); in convert() 487 Log << ThreadLogStorage; in convert() 500 Log << "Verifying GSYM file \"" << GsymPath << "\":\n"; in verify() 546 Log << "error: address " << HEX64(Addr) << " has " in verify() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeRegisterContextDBReg_arm64.cpp | 33 Log *log = GetLog(LLDBLog::Breakpoints); in NumSupportedHardwareBreakpoints() 47 Log *log = GetLog(LLDBLog::Breakpoints); in SetHardwareBreakpoint() 108 Log *log = GetLog(LLDBLog::Breakpoints); in ClearHardwareBreakpoint() 148 Log *log = GetLog(LLDBLog::Breakpoints); in GetHardwareBreakHitIndex() 168 Log *log = GetLog(LLDBLog::Breakpoints); in ClearAllHardwareBreakpoints() 210 Log *log = GetLog(LLDBLog::Watchpoints); in NumSupportedHardwareWatchpoints() 223 Log *log = GetLog(LLDBLog::Watchpoints); in SetHardwareWatchpoint() 316 Log *log = GetLog(LLDBLog::Watchpoints); in ClearHardwareWatchpoint() 388 Log *log = GetLog(LLDBLog::Watchpoints); in GetWatchpointSize() 406 Log *log = GetLog(LLDBLog::Watchpoints); in WatchpointIsEnabled() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.compare.default/ |
| H A D | p5.cpp | 14 struct Log { struct 22 Log *log; argument 28 Log log; in check() 40 constexpr C(Log *p) : B<'a'>{p}, B<'b'>{p}, r{p, p, p}, c{p}, s{p, p}, d{p} {} in C() 53 constexpr D(Log *p) : x{p}, y{p, p} {} in D()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | ThreadPlanPython.cpp | 74 Log *log = GetLog(LLDBLog::Thread); in ShouldStop() 93 Log *log = GetLog(LLDBLog::Thread); in IsPlanStale() 112 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop() 131 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged() 146 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState() 168 Log *log = GetLog(LLDBLog::Thread); in WillStop()
|
| H A D | ThreadPlan.cpp | 80 Log *log = GetLog(LLDBLog::Step); in ShouldReportStop() 120 Log *log = GetLog(LLDBLog::Step); in WillResume() 199 Log *log = GetLog(LLDBLog::Thread); in ValidatePlan() 215 Log *log = GetLog(LLDBLog::Thread); in ShouldStop() 231 Log *log = GetLog(LLDBLog::Thread); in WillStop() 247 Log *log = GetLog(LLDBLog::Thread); in DoPlanExplainsStop() 265 Log *log = GetLog(LLDBLog::Thread); in MischiefManaged() 282 Log *log = GetLog(LLDBLog::Thread); in GetPlanRunState()
|
| /llvm-project-15.0.7/llvm/tools/llvm-debuginfod/ |
| H A D | llvm-debuginfod.cpp | 78 DebuginfodLog Log; in main() local 79 DebuginfodCollection Collection(Paths, Log, Pool, MinInterval); in main() 80 DebuginfodServer Server(Log, Collection); in main() 87 Log.push("Listening on port " + Twine(Port).str()); in main() 92 DebuginfodLogEntry Entry = Log.pop(); in main()
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | SymbolFileOnDemand.cpp | 48 Log *log = GetLog(); in ParseLanguage() 62 Log *log = GetLog(); in ParseXcodeSDK() 127 Log *log = GetLog(); in ParseIsOptimized() 153 Log *log = GetLog(); in ParseImportedModules() 188 Log *log = GetLog(); in ResolveTypeUID() 222 Log *log = GetLog(); in GetDeclForUID() 322 Log *log = GetLog(); in FindGlobalVariables() 351 Log *log = GetLog(); in FindFunctions() 382 Log *log = GetLog(); in FindFunctions() 413 Log *log = GetLog(); in GetMangledNamesForFunction() [all …]
|