class DiagnosticsReport

Defined at line 36 of file ../../sdk/lib/ld/startup-diagnostics.h

This provides the Report callable object for Diagnostics. It uses the

printf engine to ultimately call StartupMessage with the captured

StartupData reference.

Public Methods

void Printf (const char * format)

ModuleDiagnosticsPrintfReportBase calls this like it's printf.

Defined at line 19 of file ../../sdk/lib/ld/startup-diagnostics.cc

void Printf (const char * format, va_list args)

That's just the varargs wrapper for this.

Defined at line 28 of file ../../sdk/lib/ld/startup-diagnostics.cc

void Printf (const char * format, va_list args)

That's just the varargs wrapper for this.

Defined at line 28 of file ../../sdk/lib/ld/startup-diagnostics.cc

void DiagnosticsReport (StartupData & startup)

Defined at line 38 of file ../../sdk/lib/ld/startup-diagnostics.h

template <class StartupModule>
void ReportModuleLoaded (const StartupModule & module)

StartupModule is a typedef in the OS-specific header, so each one defines

the one explicit specialization that will be used. This can't just use a

simple non-template forward declaration (as with StartupData) because

StartupModule is a typedef and not a class or struct.

template <>
void ReportModuleLoaded<ld::StartupLoadModule<elfldltl::MmapLoader>> (const StartupModule & module)

Defined at line 34 of file ../../sdk/lib/ld/startup-diagnostics.cc

template <>
void ReportModuleLoaded<ld::StartupLoadModule<elfldltl::LocalVmarLoader>> (const StartupModule & module)

Defined at line 34 of file ../../sdk/lib/ld/startup-diagnostics.cc