[llvm] Adding Matching and Inference Functionality to Propeller (PR #160706)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 10 10:08:00 PDT 2025


================
@@ -1526,6 +1526,11 @@ void ELFState<ELFT>::writeSectionContent(
         }
         SHeader.sh_size += CBA.writeULEB128(BBE.Size);
         SHeader.sh_size += CBA.writeULEB128(BBE.Metadata);
+        if (FeatureOrErr->BBHash || BBE.Hash.has_value()) {
+          auto Hash = BBE.Hash.has_value() ?
+              BBE.Hash.value() : llvm::yaml::Hex64(0);;
+          SHeader.sh_size += CBA.writeULEB128(Hash);
----------------
rlavaee wrote:

Sounds good.

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


More information about the llvm-commits mailing list