proxygen
|
#include <Symbolizer.h>
Public Member Functions | |
AddressFormatter () | |
StringPiece | format (uintptr_t address) |
Private Attributes | |
char | buf_ [sizeof(bufTemplate)] |
Static Private Attributes | |
static constexpr char | bufTemplate [] = " @ 0000000000000000" |
Format one address in the way it's usually printed by SymbolizePrinter. Async-signal-safe.
Definition at line 163 of file Symbolizer.h.
folly::symbolizer::AddressFormatter::AddressFormatter | ( | ) |
Definition at line 190 of file Symbolizer.cpp.
folly::StringPiece folly::symbolizer::AddressFormatter::format | ( | uintptr_t | address | ) |
Format the address. Returns an internal buffer.
Definition at line 194 of file Symbolizer.cpp.
References folly::test::end().
Referenced by folly::symbolizer::SymbolizePrinter::print(), folly::symbolizer::SafeStackTracePrinter::printStackTrace(), and folly::symbolizer::FastStackTracePrinter::printStackTrace().
|
private |
Definition at line 174 of file Symbolizer.h.
|
staticprivate |
Definition at line 173 of file Symbolizer.h.
Referenced by folly::symbolizer::Symbolizer::symbolize().