[PATCH] D65394: [yaml2obj] - Allow overriding sh_entsize for SHT_GNU_versym sections.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 06:01:26 PDT 2019


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: tools/yaml2obj/yaml2elf.cpp:800
+  if (Section.EntSize)
+    SHeader.sh_entsize = *Section.EntSize;
+  else
----------------
grimar wrote:
> MaskRay wrote:
> > `?:` may be used here.
> Ok. Done.
one pair of the parentheses can be deleted:)


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

https://reviews.llvm.org/D65394





More information about the llvm-commits mailing list