native_unwinder.h 513 B

1234567891011121314151617181920
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef BASE_PROFILER_NATIVE_UNWINDER_H_
  5. #define BASE_PROFILER_NATIVE_UNWINDER_H_
  6. #include <memory>
  7. namespace base {
  8. class ModuleCache;
  9. class Unwinder;
  10. // Creates the native unwinder for the platform.
  11. std::unique_ptr<Unwinder> CreateNativeUnwinder(ModuleCache* module_cache);
  12. } // namespace base
  13. #endif // BASE_PROFILER_NATIVE_UNWINDER_H_