12345678910111213141516171819202122232425262728293031 |
- #ifndef BASE_PROFILER_NATIVE_UNWINDER_WIN_H_
- #define BASE_PROFILER_NATIVE_UNWINDER_WIN_H_
- #include "base/macros.h"
- #include "base/profiler/unwinder.h"
- namespace base {
- class NativeUnwinderWin : public Unwinder {
- public:
- NativeUnwinderWin() = default;
- NativeUnwinderWin(const NativeUnwinderWin&) = delete;
- NativeUnwinderWin& operator=(const NativeUnwinderWin&) = delete;
-
- bool CanUnwindFrom(const Frame& current_frame) const override;
- UnwindResult TryUnwind(RegisterContext* thread_context,
- uintptr_t stack_top,
- ModuleCache* module_cache,
- std::vector<Frame>* stack) const override;
- };
- }
- #endif
|