================ @@ -84,3 +84,100 @@ TEST(DWARF64UnitTest, DWARF64DebugInfoAndCU) { ASSERT_TRUE(declaration.IsValid()); ASSERT_EQ(declaration.Tag(), DW_TAG_subprogram); } + +TEST(DWARF64UnitTest, DWARF5StrTable) { + const char *yamldata = R"( +--- !ELF +FileHeader: + Class: ELFCLASS64 + Data: ELFDATA2LSB ---------------- labath wrote:
Might be a good idea to use a big-endian encoding here. I think that would catch the `GetU32->GetMaxU64` change. https://github.com/llvm/llvm-project/pull/147054 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits