GCC Middle and Back End API Reference
analyzer-logging.h File Reference
#include "diagnostic-core.h"
Include dependency graph for analyzer-logging.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ana::logger
 
class  ana::log_scope
 
class  ana::log_user
 

Namespaces

namespace  ana
 

Macros

#define LOG_SCOPE(LOGGER)    log_scope s (LOGGER, __PRETTY_FUNCTION__)
 
#define LOG_FUNC(LOGGER)    log_scope s (LOGGER, __func__)
 
#define LOG_FUNC_1(LOGGER, FMT, A0)    log_scope s (LOGGER, __func__, FMT, A0)
 
#define LOG_FUNC_2(LOGGER, FMT, A0, A1)    log_scope s (LOGGER, __func__, FMT, A0, A1)
 
#define LOG_FUNC_3(LOGGER, FMT, A0, A1, A2)    log_scope s (LOGGER, __func__, FMT, A0, A1, A2)
 
#define LOG_FUNC_4(LOGGER, FMT, A0, A1, A2, A3)    log_scope s (LOGGER, __func__, FMT, A0, A1, A2, A3)
 

Macro Definition Documentation

◆ LOG_FUNC

#define LOG_FUNC ( LOGGER)     log_scope s (LOGGER, __func__)
If the given logger is non-NULL, log entry/exit of this scope to
it, identifying it using __func__.   

Referenced by ana::exploded_graph::detect_infinite_loops().

◆ LOG_FUNC_1

#define LOG_FUNC_1 ( LOGGER,
FMT,
A0 )    log_scope s (LOGGER, __func__, FMT, A0)

Referenced by starts_infinite_loop_p().

◆ LOG_FUNC_2

#define LOG_FUNC_2 ( LOGGER,
FMT,
A0,
A1 )    log_scope s (LOGGER, __func__, FMT, A0, A1)

◆ LOG_FUNC_3

#define LOG_FUNC_3 ( LOGGER,
FMT,
A0,
A1,
A2 )    log_scope s (LOGGER, __func__, FMT, A0, A1, A2)

◆ LOG_FUNC_4

#define LOG_FUNC_4 ( LOGGER,
FMT,
A0,
A1,
A2,
A3 )    log_scope s (LOGGER, __func__, FMT, A0, A1, A2, A3)

◆ LOG_SCOPE

#define LOG_SCOPE ( LOGGER)     log_scope s (LOGGER, __PRETTY_FUNCTION__)
If the given logger is non-NULL, log entry/exit of this scope to
it, identifying it using __PRETTY_FUNCTION__.   

Referenced by infinite_loop::infinite_loop(), and sufficiently_different_p().