llvm-project/lldb/source/DataFormatters
Jason Molenda 223e8ca026 Set a default number of address bits on Darwin arm64 systems
With arm64e ARMv8.3 pointer authentication, lldb needs to know how
many bits are used for addressing and how many are used for pointer
auth signing.  This should be determined dynamically from the inferior
system / corefile, but there are some workflows where it still isn't
recorded and we fall back on a default value that is correct on some
Darwin environments.

This patch also explicitly sets the vendor of mach-o binaries to
Apple, so we select an Apple ABI instead of a random other ABI.

It adds a function pointer formatter for systems where pointer
authentication is in use, and we can strip the ptrauth bits off
of the function pointer address and get a different value that
points to an actual symbol.

Differential Revision: https://reviews.llvm.org/D115431
rdar://84644661
2021-12-09 22:53:01 -08:00
..
CMakeLists.txt
CXXFunctionPointer.cpp Set a default number of address bits on Darwin arm64 systems 2021-12-09 22:53:01 -08:00
DataVisualization.cpp [lldb][NFC] Remove FormatMap 2020-07-23 18:34:59 +02:00
DumpValueObjectOptions.cpp
FormatCache.cpp
FormatClasses.cpp
FormatManager.cpp [lldb/Formatters] Remove space from vector type string summaries (NFCI) 2021-10-22 21:18:54 +02:00
FormattersHelpers.cpp [lldb] (Partially) enable formatting of utf strings before the program is started 2021-11-18 14:45:17 +01:00
LanguageCategory.cpp
StringPrinter.cpp [lldb] (Partially) enable formatting of utf strings before the program is started 2021-11-18 14:45:17 +01:00
TypeCategory.cpp [lldb] Remove FormattersContainer's name member 2020-07-21 13:54:38 +02:00
TypeCategoryMap.cpp
TypeFormat.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
TypeSummary.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
TypeSynthetic.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
ValueObjectPrinter.cpp [lldb/DataFormatters] Display null C++ pointers as nullptr 2020-11-12 15:24:06 -08:00
VectorType.cpp [lldb][NFC] Give CompilerType's IsArrayType/IsVectorType/IsBlockPointerType out-parameters default values 2021-02-23 11:15:31 +01:00