| 3602 | static const unsigned int kMaxStack = 64; |
| 3603 | static const unsigned int kStackStart = 2; // We want to skip c'tor and StackTrace::generateNew() |
| 3604 | class StackTraceEntry { |
| 3605 | public: |
| 3606 | StackTraceEntry(std::size_t index, const char* loc, const char* demang, const char* hex, const char* addr); |
| 3607 | StackTraceEntry(std::size_t index, char* loc) : |
| 3608 | m_index(index), |
| 3609 | m_location(loc) { |
| 3610 | } |
| 3611 | std::size_t m_index; |
| 3612 | std::string m_location; |
| 3613 | std::string m_demangled; |
| 3614 | std::string m_hex; |
| 3615 | std::string m_addr; |
| 3616 | friend std::ostream& operator<<(std::ostream& ss, const StackTraceEntry& si); |
| 3617 | |
| 3618 | private: |
| 3619 | StackTraceEntry(void); |
| 3620 | }; |
| 3621 | |
| 3622 | StackTrace(void) { |
| 3623 | generateNew(); |
nothing calls this directly
no outgoing calls
no test coverage detected