Coverage Report

Created: 2022-01-25 06:29

/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/source/Plugins/Architecture/AArch64/ArchitectureAArch64.h
Line
Count
Source (jump to first uncovered line)
1
//===-- ArchitectureAArch64.h -----------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_SOURCE_PLUGINS_ARCHITECTURE_AARCH64_ARCHITECTUREAARCH64_H
10
#define LLDB_SOURCE_PLUGINS_ARCHITECTURE_AARCH64_ARCHITECTUREAARCH64_H
11
12
#include "Plugins/Process/Utility/MemoryTagManagerAArch64MTE.h"
13
#include "lldb/Core/Architecture.h"
14
15
namespace lldb_private {
16
17
class ArchitectureAArch64 : public Architecture {
18
public:
19
3.44k
  static llvm::StringRef GetPluginNameStatic() { return "aarch64"; }
20
  static void Initialize();
21
  static void Terminate();
22
23
0
  llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); }
24
25
21
  void OverrideStopInfo(Thread &thread) const override{};
26
27
0
  const MemoryTagManager *GetMemoryTagManager() const override {
28
0
    return &m_memory_tag_manager;
29
0
  }
30
31
private:
32
  static std::unique_ptr<Architecture> Create(const ArchSpec &arch);
33
64
  ArchitectureAArch64() = default;
34
  MemoryTagManagerAArch64MTE m_memory_tag_manager;
35
};
36
37
} // namespace lldb_private
38
39
#endif // LLDB_SOURCE_PLUGINS_ARCHITECTURE_AARCH64_ARCHITECTUREAARCH64_H