[Lldb-commits] [lldb] [lldb] [unittests] Cover what the memory cache reads from the inferior (PR #221015)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 3 16:57:39 PDT 2026
================
@@ -161,21 +162,51 @@ static ProcessSP CreateProcess(lldb::TargetSP target_sp) {
return process_sp;
}
-TEST_F(MemoryTest, TesetMemoryCacheRead) {
- ArchSpec arch("x86_64-apple-macosx-");
+// Builds the debugger, target and process a cache test needs and keeps them
+// alive.
+namespace {
+class CacheTestProcess {
+public:
+ explicit CacheTestProcess(const char *triple = "arm64-apple-macosx")
----------------
JDevlieghere wrote:
```suggestion
explicit CacheTestProcess(llvm::StringRef triple = "arm64-apple-macosx")
```
https://github.com/llvm/llvm-project/pull/221015
More information about the lldb-commits
mailing list