18 #ifndef ION_PORT_STACKTRACE_H_
19 #define ION_PORT_STACKTRACE_H_
38 const std::vector<void*>&
GetAddresses()
const {
return addresses_; }
40 const std::vector<std::string>& GetSymbols()
const;
43 const std::string GetSymbolString()
const;
47 void ObtainSymbols()
const;
49 std::vector<void*> addresses_;
51 mutable std::vector<std::string> symbols_;
57 #endif // ION_PORT_STACKTRACE_H_
const std::vector< void * > & GetAddresses() const
Returns the stack as a vector of addresses.
StackTrace acquires a stack trace for the current thread (not suitable for calling in an interrupt ha...