GCC Middle and Back End API Reference
|
#include <dump-context.h>
Public Member Functions | |
debug_dump_context (FILE *f=stderr) | |
~debug_dump_context () | |
Private Attributes | |
dump_context | m_context |
dump_context * | m_saved |
dump_flags_t | m_saved_flags |
dump_flags_t | m_saved_pflags |
FILE * | m_saved_file |
An RAII-style class for use in debug dumpers for temporarily using a different dump_context. It enables full details and outputs to stderr instead of the currently active dump_file.
debug_dump_context::debug_dump_context | ( | FILE * | f = stderr | ) |
debug_dump_context's ctor. Temporarily override the dump_context (to forcibly enable output to stderr).
References dump_flags, dump_context::get(), m_context, MSG_ALL_KINDS, MSG_ALL_PRIORITIES, pflags, dump_context::refresh_dumps_are_enabled(), dump_context::s_current, and set_dump_file().
debug_dump_context::~debug_dump_context | ( | ) |
debug_dump_context's dtor. Restore the saved dump_context.
References dump_flags, dump_context::get(), m_saved, m_saved_file, m_saved_flags, m_saved_pflags, pflags, dump_context::refresh_dumps_are_enabled(), dump_context::s_current, and set_dump_file().
|
private |
Referenced by debug_dump_context().
|
private |
Referenced by ~debug_dump_context().
|
private |
Referenced by ~debug_dump_context().
|
private |
Referenced by ~debug_dump_context().
|
private |
Referenced by ~debug_dump_context().