[Lldb-commits] [PATCH] D65353: [lldb] Also include the array definition in Properties.inc

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 26 15:02:33 PDT 2019


JDevlieghere created this revision.
JDevlieghere added a reviewer: teemperor.

Right now our Properties.inc only generates the initializer for the options list but
not the array declaration boilerplate around it. As the array definition is identical for all arrays,
we might as well also let the Properties.inc generate it alongside the initializers.

Unfortunately we cannot do the same for enums, as there's this magic `ePropertyExperimental`, 
which needs to come at the end to be interpreted correctly. Hopefully we can get rid of this in
the future and do the same for the property enums.


https://reviews.llvm.org/D65353

Files:
  lldb/source/Core/Debugger.cpp
  lldb/source/Core/ModuleList.cpp
  lldb/source/Interpreter/CommandInterpreter.cpp
  lldb/source/Interpreter/Properties.td
  lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
  lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
  lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
  lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
  lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/source/Target/Platform.cpp
  lldb/source/Target/Process.cpp
  lldb/source/Target/Target.cpp
  lldb/source/Target/Thread.cpp
  lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65353.212013.patch
Type: text/x-patch
Size: 40688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190726/24e64761/attachment-0001.bin>


More information about the lldb-commits mailing list