[PATCH] handle typeZeroFill atoms in ELF/Native/YAML

Shankar Kalpathi Easwaran shankarke at gmail.com
Thu Aug 22 14:18:40 PDT 2013



================
Comment at: lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.h:50
@@ +49,3 @@
+      if (section->sh_type == llvm::ELF::SHT_NOBITS)
+        return DefinedAtom::typeZeroFillFast;
+      else if (section->sh_flags & llvm::ELF::SHF_HEX_GPREL)
----------------
Rui Ueyama wrote:
> The comment about typeZeroFillFast in DefinedAtom.h is a bit vague. How is this different from typeZeroFill? Is this Hexagon specific?
These are specific to hexagon or architectures which want to store marked uninitialized data to seperate sections.


http://llvm-reviews.chandlerc.com/D1469



More information about the llvm-commits mailing list