[llvm] [Object] Extract format-agnostic BBAddrMap decoder (PR #188435)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 17:54:20 PDT 2026


================
@@ -555,8 +555,7 @@ TEST(ELFObjectFileTest, InvalidDecodeBBAddrMap) {
   {
     SCOPED_TRACE("zero bb ranges");
     DoCheck(ZeroBBRangesYamlString,
-            "invalid zero number of BB ranges at offset 3 in "
-            "SHT_LLVM_BB_ADDR_MAP section with index 1");
+            "invalid zero number of BB ranges at offset 3");
----------------
rlavaee wrote:

What is the final take on this? Do you want to include the section index as context in the reader or not ? (Remember ELFObjectFileTest.cpp tests readBBAddrMap and does not exercise the ELFDumper code path).

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


More information about the llvm-commits mailing list