[PATCH] D131270: MC: make section classification a bit more thorough

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 22:26:03 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/lib/MC/MCContext.cpp:578
+               .Case(".data", SectionKind::getData())
+               .Case(".data1", SectionKind::getMergeable1ByteCString())
+               .Case(".data.rel.ro", SectionKind::getReadOnlyWithRel())
----------------
.data1 is similar to .data . It does not have the SHF_STRINGS flag.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131270



More information about the llvm-commits mailing list