[Lldb-commits] [lldb] [lldb] Set default object format to `MachO` in `ObjectFileMachO` (PR #142704)

David Peixotto via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 4 09:26:59 PDT 2025


================
@@ -94,4 +94,59 @@ TEST_F(ObjectFileMachOTest, IndirectSymbolsInTheSharedCache) {
   for (size_t i = 0; i < 10; i++)
     OF->ParseSymtab(symtab);
 }
+
+TEST_F(ObjectFileMachOTest, ObjectFileFormatWithoutLoadCommand) {
----------------
dmpots wrote:

The test name is a bit misleading because there is a load command (LC_SEGMENT_64). I suggest we either remove that load command to make the name match or change it to something like `ObjectFileFormatWithoutVersionLoadCommand`

https://github.com/llvm/llvm-project/pull/142704


More information about the lldb-commits mailing list