diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/base/profiler/unwindstack_internal_android.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/profiler/unwindstack_internal_android.h')
-rw-r--r-- | chromium/base/profiler/unwindstack_internal_android.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chromium/base/profiler/unwindstack_internal_android.h b/chromium/base/profiler/unwindstack_internal_android.h deleted file mode 100644 index 75058613fc7..00000000000 --- a/chromium/base/profiler/unwindstack_internal_android.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2020 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef BASE_PROFILER_UNWINDSTACK_INTERNAL_ANDROID_H_ -#define BASE_PROFILER_UNWINDSTACK_INTERNAL_ANDROID_H_ - -#include "third_party/libunwindstack/src/libunwindstack/include/unwindstack/Maps.h" -#include "third_party/libunwindstack/src/libunwindstack/include/unwindstack/Memory.h" - -// Avoid including this file directly in a header as it leaks headers from -// libunwindstack. In particular, it's not to be included directly or -// transitively from native_unwinder_android.h - -namespace base { - -// Implementation of unwindstack::Memory that restricts memory access to a stack -// buffer, used by NativeUnwinderAndroid. While unwinding, only memory accesses -// within the stack should be performed to restore registers. -class UnwindStackMemoryAndroid : public unwindstack::Memory { - public: - UnwindStackMemoryAndroid(uintptr_t stack_ptr, uintptr_t stack_top); - ~UnwindStackMemoryAndroid() override; - - size_t Read(uint64_t addr, void* dst, size_t size) override; - - private: - const uintptr_t stack_ptr_; - const uintptr_t stack_top_; -}; - -} // namespace base - -#endif // BASE_PROFILER_UNWINDSTACK_INTERNAL_ANDROID_H_
\ No newline at end of file |