[PATCH] D68216: [yaml2obj] - Alow Size tag for describing SHT_HASH sections.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 1 06:52:12 PDT 2019


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: lib/ObjectYAML/ELFYAML.cpp:1220
+      if (HS->Size && HS->Content &&
+          (uint64_t)(*HS->Size) < HS->Content->binary_size())
+        return "\"Size\" must be greater than or equal to the content "
----------------
You can delete a pair of `()`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68216/new/

https://reviews.llvm.org/D68216





More information about the llvm-commits mailing list