diff options
author | Pavel Labath <pavel@labath.sk> | 2022-10-13 15:22:22 +0200 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2022-10-13 15:23:58 +0200 |
commit | 32cb683d2d3aa9c8fe0f8b24bd3ad1a5ea53bdcc (patch) | |
tree | 43f62cb16f915750289d648972d78212f4ee7620 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | |
parent | 3f62314c235bd2475c8e2b5b874b2932a444e823 (diff) | |
download | llvm-32cb683d2d3aa9c8fe0f8b24bd3ad1a5ea53bdcc.zip llvm-32cb683d2d3aa9c8fe0f8b24bd3ad1a5ea53bdcc.tar.gz llvm-32cb683d2d3aa9c8fe0f8b24bd3ad1a5ea53bdcc.tar.bz2 |
[lldb] Place PlatformQemu Properties into anonymous namespace
It's fine right now, but will break as soon as someone else declares a
PluginProperties class in the same way.
Also tighten up the scope of the anonymous namespaces surrounding the
other PluginProperties classes.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp index 61c9b9f..72fc82c3 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -100,13 +100,13 @@ public: } }; +} // namespace + static PluginProperties &GetGlobalPluginProperties() { static PluginProperties g_settings; return g_settings; } -} // namespace - static bool GetDebugLinkContents(const llvm::object::COFFObjectFile &coff_obj, std::string &gnu_debuglink_file, uint32_t &gnu_debuglink_crc) { |