1 | //===-- SymbolVendorMacOSX.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_SYMBOLVENDOR_MACOSX_SYMBOLVENDORMACOSX_H |
10 | #define LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_MACOSX_SYMBOLVENDORMACOSX_H |
11 | |
12 | #include "lldb/Symbol/SymbolVendor.h" |
13 | #include "lldb/lldb-private.h" |
14 | |
15 | class SymbolVendorMacOSX : public lldb_private::SymbolVendor { |
16 | public: |
17 | // Static Functions |
18 | static void Initialize(); |
19 | |
20 | static void Terminate(); |
21 | |
22 | static llvm::StringRef GetPluginNameStatic() { return "macosx" ; } |
23 | |
24 | static llvm::StringRef GetPluginDescriptionStatic(); |
25 | |
26 | static lldb_private::SymbolVendor * |
27 | CreateInstance(const lldb::ModuleSP &module_sp, |
28 | lldb_private::Stream *feedback_strm); |
29 | |
30 | // Constructors and Destructors |
31 | SymbolVendorMacOSX(const lldb::ModuleSP &module_sp); |
32 | |
33 | // PluginInterface protocol |
34 | llvm::StringRef GetPluginName() override { return GetPluginNameStatic(); } |
35 | }; |
36 | |
37 | #endif // LLDB_SOURCE_PLUGINS_SYMBOLVENDOR_MACOSX_SYMBOLVENDORMACOSX_H |
38 | |