================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits