From: Jordan Rupprecht Date: Mon, 29 Jul 2019 17:22:10 +0000 (+0000) Subject: [lldb] Qualify includes of Properties[Enum].inc files. NFC X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a253d378bc05c30b3d9f32fdaf973714de3e99c;p=platform%2Fupstream%2Fllvm.git [lldb] Qualify includes of Properties[Enum].inc files. NFC Summary: This is a bit more explicit, and makes it possible to build LLDB without varying the -I lines per-directory. (The latter is useful because many build systems only allow this to be configured per-library, and LLDB is insufficiently layered to be split into multiple libraries on stricter build systems). (My comment on D65185 has some more context) Reviewers: JDevlieghere, labath, chandlerc, jdoerfert Reviewed By: labath Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D65397 Patch by Sam McCall! llvm-svn: 367241 --- diff --git a/lldb/source/Core/CMakeLists.txt b/lldb/source/Core/CMakeLists.txt index d89abd5..476e928 100644 --- a/lldb/source/Core/CMakeLists.txt +++ b/lldb/source/Core/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(CoreProperties.inc -gen-lldb-property-defs + SOURCE CoreProperties.td TARGET LLDBCorePropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(CorePropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE CoreProperties.td TARGET LLDBCorePropertiesEnumGen) set(LLDB_CURSES_LIBS) diff --git a/lldb/source/Core/Properties.td b/lldb/source/Core/CoreProperties.td similarity index 100% rename from lldb/source/Core/Properties.td rename to lldb/source/Core/CoreProperties.td diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index 82f4dda..ca19ad6 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -203,11 +203,11 @@ static constexpr OptionEnumValueElement s_stop_show_column_values[] = { {eStopShowColumnNone, "none", "Do not highlight the stop column."}}; #define LLDB_PROPERTIES_debugger -#include "Properties.inc" +#include "CoreProperties.inc" enum { #define LLDB_PROPERTIES_debugger -#include "PropertiesEnum.inc" +#include "CorePropertiesEnum.inc" }; LoadPluginCallbackType Debugger::g_load_plugin_callback = nullptr; diff --git a/lldb/source/Core/ModuleList.cpp b/lldb/source/Core/ModuleList.cpp index 66bd0ac..999ed6b 100644 --- a/lldb/source/Core/ModuleList.cpp +++ b/lldb/source/Core/ModuleList.cpp @@ -66,11 +66,11 @@ using namespace lldb_private; namespace { #define LLDB_PROPERTIES_modulelist -#include "Properties.inc" +#include "CoreProperties.inc" enum { #define LLDB_PROPERTIES_modulelist -#include "PropertiesEnum.inc" +#include "CorePropertiesEnum.inc" }; } // namespace diff --git a/lldb/source/Interpreter/CMakeLists.txt b/lldb/source/Interpreter/CMakeLists.txt index ece88b1..5f72292 100644 --- a/lldb/source/Interpreter/CMakeLists.txt +++ b/lldb/source/Interpreter/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(InterpreterProperties.inc -gen-lldb-property-defs + SOURCE InterpreterProperties.td TARGET LLDBInterpreterPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(InterpreterPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE InterpreterProperties.td TARGET LLDBInterpreterPropertiesEnumGen) add_lldb_library(lldbInterpreter @@ -70,4 +70,4 @@ add_dependencies(lldbInterpreter if (NOT LLDB_DISABLE_LIBEDIT) target_include_directories(lldbInterpreter PRIVATE ${libedit_INCLUDE_DIRS}) -endif() \ No newline at end of file +endif() diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 3a4cd7b..379251b 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -90,11 +90,11 @@ static constexpr const char *InitFileWarning = "accept the security risk."; #define LLDB_PROPERTIES_interpreter -#include "Properties.inc" +#include "InterpreterProperties.inc" enum { #define LLDB_PROPERTIES_interpreter -#include "PropertiesEnum.inc" +#include "InterpreterPropertiesEnum.inc" }; ConstString &CommandInterpreter::GetStaticBroadcasterClass() { diff --git a/lldb/source/Interpreter/Properties.td b/lldb/source/Interpreter/InterpreterProperties.td similarity index 100% rename from lldb/source/Interpreter/Properties.td rename to lldb/source/Interpreter/InterpreterProperties.td diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt index b4ba84a..e29ddca 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(DynamicLoaderDarwinKernelProperties.inc -gen-lldb-property-defs + SOURCE DynamicLoaderDarwinKernelProperties.td TARGET LLDBPluginDynamicLoaderDarwinKernelPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(DynamicLoaderDarwinKernelPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE DynamicLoaderDarwinKernelProperties.td TARGET LLDBPluginDynamicLoaderDarwinKernelPropertiesEnumGen) add_lldb_library(lldbPluginDynamicLoaderDarwinKernel PLUGIN diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp index b6a98bc..51f128f 100644 --- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp +++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp @@ -73,11 +73,11 @@ static constexpr OptionEnumValueElement g_kaslr_kernel_scan_enum_values[] = { "on 32-bit targets)."}}; #define LLDB_PROPERTIES_dynamicloaderdarwinkernel -#include "Properties.inc" +#include "DynamicLoaderDarwinKernelProperties.inc" enum { #define LLDB_PROPERTIES_dynamicloaderdarwinkernel -#include "PropertiesEnum.inc" +#include "DynamicLoaderDarwinKernelPropertiesEnum.inc" }; class DynamicLoaderDarwinKernelProperties : public Properties { diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/Properties.td b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td similarity index 100% rename from lldb/source/Plugins/DynamicLoader/Darwin-Kernel/Properties.td rename to lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td diff --git a/lldb/source/Plugins/JITLoader/GDB/CMakeLists.txt b/lldb/source/Plugins/JITLoader/GDB/CMakeLists.txt index 88e8fce..774d85b 100644 --- a/lldb/source/Plugins/JITLoader/GDB/CMakeLists.txt +++ b/lldb/source/Plugins/JITLoader/GDB/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(JITLoaderGDBProperties.inc -gen-lldb-property-defs + SOURCE JITLoaderGDBProperties.td TARGET LLDBPluginJITLoaderGDBPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(JITLoaderGDBPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE JITLoaderGDBProperties.td TARGET LLDBPluginJITLoaderGDBPropertiesEnumGen) add_lldb_library(lldbPluginJITLoaderGDB PLUGIN diff --git a/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp index 08c134c..0593af4 100644 --- a/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp +++ b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp @@ -67,11 +67,11 @@ static constexpr OptionEnumValueElement g_enable_jit_loader_gdb_enumerators[] = }; #define LLDB_PROPERTIES_jitloadergdb -#include "Properties.inc" +#include "JITLoaderGDBProperties.inc" enum { #define LLDB_PROPERTIES_jitloadergdb -#include "PropertiesEnum.inc" +#include "JITLoaderGDBPropertiesEnum.inc" ePropertyEnableJITBreakpoint }; diff --git a/lldb/source/Plugins/JITLoader/GDB/Properties.td b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDBProperties.td similarity index 100% rename from lldb/source/Plugins/JITLoader/GDB/Properties.td rename to lldb/source/Plugins/JITLoader/GDB/JITLoaderGDBProperties.td diff --git a/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt b/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt index d8fd2aa..49084dc 100644 --- a/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt +++ b/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(PlatformMacOSXProperties.inc -gen-lldb-property-defs + SOURCE PlatformMacOSXProperties.td TARGET LLDBPluginPlatformMacOSXPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(PlatformMacOSXPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE PlatformMacOSXProperties.td TARGET LLDBPluginPlatformMacOSXPropertiesEnumGen) list(APPEND PLUGIN_PLATFORM_MACOSX_SOURCES diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp index a196a5f..7ca5397 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp @@ -178,11 +178,11 @@ const char *PlatformDarwinKernel::GetDescriptionStatic() { /// Code to handle the PlatformDarwinKernel settings #define LLDB_PROPERTIES_platformdarwinkernel -#include "Properties.inc" +#include "PlatformMacOSXProperties.inc" enum { #define LLDB_PROPERTIES_platformdarwinkernel -#include "PropertiesEnum.inc" +#include "PlatformMacOSXPropertiesEnum.inc" }; class PlatformDarwinKernelProperties : public Properties { diff --git a/lldb/source/Plugins/Platform/MacOSX/Properties.td b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSXProperties.td similarity index 100% rename from lldb/source/Plugins/Platform/MacOSX/Properties.td rename to lldb/source/Plugins/Platform/MacOSX/PlatformMacOSXProperties.td diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt b/lldb/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt index 5672008..ddce25c 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(ProcessKDPProperties.inc -gen-lldb-property-defs + SOURCE ProcessKDPProperties.td TARGET LLDBPluginProcessMacOSXKernelPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(ProcessKDPPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE ProcessKDPProperties.td TARGET LLDBPluginProcessMacOSXKernelPropertiesEnumGen) add_lldb_library(lldbPluginProcessMacOSXKernel PLUGIN diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index 1782661..491c0b0 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -53,11 +53,11 @@ using namespace lldb_private; namespace { #define LLDB_PROPERTIES_processkdp -#include "Properties.inc" +#include "ProcessKDPProperties.inc" enum { #define LLDB_PROPERTIES_processkdp -#include "PropertiesEnum.inc" +#include "ProcessKDPPropertiesEnum.inc" }; class PluginProperties : public Properties { diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/Properties.td b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPProperties.td similarity index 100% rename from lldb/source/Plugins/Process/MacOSX-Kernel/Properties.td rename to lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDPProperties.td diff --git a/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt b/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt index 2e0b4a8..477f224 100644 --- a/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt +++ b/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(ProcessGDBRemoteProperties.inc -gen-lldb-property-defs + SOURCE ProcessGDBRemoteProperties.td TARGET LLDBPluginProcessGDBRemotePropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(ProcessGDBRemotePropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE ProcessGDBRemoteProperties.td TARGET LLDBPluginProcessGDBRemotePropertiesEnumGen) if (CMAKE_SYSTEM_NAME MATCHES "Darwin") diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 51670ad..cd59fc1 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -111,11 +111,11 @@ void DumpProcessGDBRemotePacketHistory(void *p, const char *path) { namespace { #define LLDB_PROPERTIES_processgdbremote -#include "Properties.inc" +#include "ProcessGDBRemoteProperties.inc" enum { #define LLDB_PROPERTIES_processgdbremote -#include "PropertiesEnum.inc" +#include "ProcessGDBRemotePropertiesEnum.inc" }; class PluginProperties : public Properties { diff --git a/lldb/source/Plugins/Process/gdb-remote/Properties.td b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td similarity index 100% rename from lldb/source/Plugins/Process/gdb-remote/Properties.td rename to lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemoteProperties.td diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt b/lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt index 0b92185..7d1d03f 100644 --- a/lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt +++ b/lldb/source/Plugins/StructuredData/DarwinLog/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(StructuredDataDarwinLogProperties.inc -gen-lldb-property-defs + SOURCE StructuredDataDarwinLogProperties.td TARGET LLDBPluginStructuredDataDarwinLogPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(StructuredDataDarwinLogPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE StructuredDataDarwinLogProperties.td TARGET LLDBPluginStructuredDataDarwinLogPropertiesEnumGen) add_lldb_library(lldbPluginStructuredDataDarwinLog PLUGIN diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp index b05c389..3fa3f68 100644 --- a/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp +++ b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp @@ -105,11 +105,11 @@ void SetGlobalEnableOptions(const DebuggerSP &debugger_sp, /// Code to handle the StructuredDataDarwinLog settings #define LLDB_PROPERTIES_darwinlog -#include "Properties.inc" +#include "StructuredDataDarwinLogProperties.inc" enum { #define LLDB_PROPERTIES_darwinlog -#include "PropertiesEnum.inc" +#include "StructuredDataDarwinLogPropertiesEnum.inc" }; class StructuredDataDarwinLogProperties : public Properties { diff --git a/lldb/source/Plugins/StructuredData/DarwinLog/Properties.td b/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td similarity index 100% rename from lldb/source/Plugins/StructuredData/DarwinLog/Properties.td rename to lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td diff --git a/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt index 1ca4be3..c9db96b 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt +++ b/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(SymbolFileDWARFProperties.inc -gen-lldb-property-defs + SOURCE SymbolFileDWARFProperties.td TARGET LLDBPluginSymbolFileDWARFPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(SymbolFileDWARFPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE SymbolFileDWARFProperties.td TARGET LLDBPluginSymbolFileDWARFPropertiesEnumGen) add_lldb_library(lldbPluginSymbolFileDWARF PLUGIN diff --git a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp index f24e4039..f8ce144 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp @@ -114,11 +114,11 @@ using namespace lldb_private; namespace { #define LLDB_PROPERTIES_symbolfiledwarf -#include "Properties.inc" +#include "SymbolFileDWARFProperties.inc" enum { #define LLDB_PROPERTIES_symbolfiledwarf -#include "PropertiesEnum.inc" +#include "SymbolFileDWARFPropertiesEnum.inc" }; class PluginProperties : public Properties { diff --git a/lldb/source/Plugins/SymbolFile/DWARF/Properties.td b/lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td similarity index 100% rename from lldb/source/Plugins/SymbolFile/DWARF/Properties.td rename to lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFProperties.td diff --git a/lldb/source/Target/CMakeLists.txt b/lldb/source/Target/CMakeLists.txt index 1e9f1ca..bb74ff1 100644 --- a/lldb/source/Target/CMakeLists.txt +++ b/lldb/source/Target/CMakeLists.txt @@ -1,9 +1,9 @@ -lldb_tablegen(Properties.inc -gen-lldb-property-defs - SOURCE Properties.td +lldb_tablegen(TargetProperties.inc -gen-lldb-property-defs + SOURCE TargetProperties.td TARGET LLDBTargetPropertiesGen) -lldb_tablegen(PropertiesEnum.inc -gen-lldb-property-enum-defs - SOURCE Properties.td +lldb_tablegen(TargetPropertiesEnum.inc -gen-lldb-property-enum-defs + SOURCE TargetProperties.td TARGET LLDBTargetPropertiesEnumGen) add_lldb_library(lldbTarget diff --git a/lldb/source/Target/Platform.cpp b/lldb/source/Target/Platform.cpp index 92e8526..c408962 100644 --- a/lldb/source/Target/Platform.cpp +++ b/lldb/source/Target/Platform.cpp @@ -64,11 +64,11 @@ const char *Platform::GetHostPlatformName() { return "host"; } namespace { #define LLDB_PROPERTIES_platform -#include "Properties.inc" +#include "TargetProperties.inc" enum { #define LLDB_PROPERTIES_platform -#include "PropertiesEnum.inc" +#include "TargetPropertiesEnum.inc" }; } // namespace diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp index f0cab63..e781926b 100644 --- a/lldb/source/Target/Process.cpp +++ b/lldb/source/Target/Process.cpp @@ -113,11 +113,11 @@ public: }; #define LLDB_PROPERTIES_process -#include "Properties.inc" +#include "TargetProperties.inc" enum { #define LLDB_PROPERTIES_process -#include "PropertiesEnum.inc" +#include "TargetPropertiesEnum.inc" }; ProcessProperties::ProcessProperties(lldb_private::Process *process) diff --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp index abf9a08..7b0960a 100644 --- a/lldb/source/Target/Target.cpp +++ b/lldb/source/Target/Target.cpp @@ -3274,11 +3274,11 @@ static constexpr OptionEnumValueElement g_memory_module_load_level_values[] = { "this setting loads sections and all symbols."} }; #define LLDB_PROPERTIES_target -#include "Properties.inc" +#include "TargetProperties.inc" enum { #define LLDB_PROPERTIES_target -#include "PropertiesEnum.inc" +#include "TargetPropertiesEnum.inc" ePropertyExperimental, }; @@ -3355,11 +3355,11 @@ protected: // TargetProperties #define LLDB_PROPERTIES_experimental -#include "Properties.inc" +#include "TargetProperties.inc" enum { #define LLDB_PROPERTIES_experimental -#include "PropertiesEnum.inc" +#include "TargetPropertiesEnum.inc" }; class TargetExperimentalOptionValueProperties : public OptionValueProperties { diff --git a/lldb/source/Target/Properties.td b/lldb/source/Target/TargetProperties.td similarity index 100% rename from lldb/source/Target/Properties.td rename to lldb/source/Target/TargetProperties.td diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 78cddfe..7147fed 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -64,11 +64,11 @@ const ThreadPropertiesSP &Thread::GetGlobalProperties() { } #define LLDB_PROPERTIES_thread -#include "Properties.inc" +#include "TargetProperties.inc" enum { #define LLDB_PROPERTIES_thread -#include "PropertiesEnum.inc" +#include "TargetPropertiesEnum.inc" }; class ThreadOptionValueProperties : public OptionValueProperties {