llvm-project/lldb/unittests
David Spickett 883b0d5b7f [lldb][AArch64] Add UnpackTagsFromCoreFileSegment to MemoryTagManager
This is the first part of support for reading MTE tags from Linux
core files. The format is documented here:
https://www.kernel.org/doc/html/latest/arm64/memory-tagging-extension.html#core-dump-support

This patch adds a method to unpack from the format the core
file uses, which is different to the one chosen for GDB packets.

MemoryTagManagerAArch64MTE is not tied one OS so another OS
might choose a different format in future. However, infrastructure
to handle that would go untested until then so I've chosen not to
attempt to handle that.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D129487
2022-07-25 15:51:36 +01:00
..
API [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
Breakpoint
Core Use value_or instead of getValueOr (NFC) 2022-06-19 10:34:41 -07:00
DataFormatter [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
Disassembler [trace] Add a flag to the decoder to output the instruction type 2022-07-12 16:23:03 -07:00
Editline Re-land "[lldb] Synchronize output through the IOHandler" 2022-03-15 12:53:46 -07:00
Expression [lldb] Handle jumping to the end in DW_OP_skip/DW_OP_bra 2022-07-22 09:22:40 +00:00
Host Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
Instruction Fix UB in EmulateInstructionARM64.cpp 2020-06-01 18:11:50 -07:00
Interpreter [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
Language We don't require users to type out the full context of a function, for 2022-05-12 12:39:28 -07:00
ObjectFile [lldb] Test parsing the symtab with indirect symbols from the shared cache 2022-03-23 21:13:55 -07:00
Platform [lldb] Add a test to prefer exact triple matches in platform selection 2022-07-11 16:35:51 -07:00
Process [lldb][AArch64] Add UnpackTagsFromCoreFileSegment to MemoryTagManager 2022-07-25 15:51:36 +01:00
ScriptInterpreter Remove Python 2 support from the ScriptInterpreter plugin 2022-04-27 08:26:25 -07:00
Signals Store a by name list of signals with their actions in the Target 2022-05-26 14:50:33 -07:00
Symbol Fix the encoding and decoding of UniqueCStringMap<T> objects when saved to cache files. 2022-04-29 11:31:47 -07:00
SymbolFile Reland "[lldb] Add support for using integral const static data members in the expression evaluator" 2022-07-15 10:52:35 +00:00
Target Revert "[NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute." and follow-ups 2022-07-23 12:35:48 -04:00
TestingSupport Reapply "[cmake] Prefix gtest and gtest_main with "llvm_"." 2022-03-04 13:45:43 -08:00
Thread [lldb] Return StringRef from PluginInterface::GetPluginName 2021-10-18 10:14:42 +02:00
UnwindAssembly Update the CFA to use $sp when $fp is restored on arm64 2022-05-04 14:54:17 -07:00
Utility Revert "[NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute." and follow-ups 2022-07-23 12:35:48 -04:00
debugserver [lldb] [unittests] Fix TcpListen() call in RNBSocketTest 2021-10-26 21:08:03 +02:00
tools [lld] Don't use Optional::hasValue (NFC) 2022-06-26 19:29:40 -07:00
CMakeLists.txt Reapply "[cmake] Prefix gtest and gtest_main with "llvm_"." 2022-03-04 13:45:43 -08:00
gtest_common.h