[llvm] [SHT_LLVM_BB_ADDR_MAP] Add an option to skip emitting bb entries (PR #114447)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 11:26:37 PST 2024


================
@@ -839,7 +840,6 @@ decodeBBAddrMapImpl(const ELFFile<ELFT> &EF,
       NumBlocksInBBRange = readULEB128As<uint32_t>(Data, Cur, ULEBSizeErr);
     }
     std::vector<BBAddrMap::BBRangeEntry> BBRangeEntries;
-    uint32_t TotalNumBlocks = 0;
----------------
wlei-llvm wrote:

Good catch, I must have mismatched the branches..fixed.

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


More information about the llvm-commits mailing list