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

Shankar Kalpathi Easwaran shankarke at gmail.com
Thu Aug 22 12:38:47 PDT 2013


  Yes, makes sense to add the isZeroFillContent utility to DefinedAtom.


================
Comment at: test/elf/X86_64/largebss.test:20-24
@@ +19,6 @@
+CHECK:    section-name:    .bss
+CHECK:  - name:            largetbss
+CHECK:    scope:           global
+CHECK:    type:            tlv-zero-fill
+CHECK:    size:            4000
+CHECK:    section-name:    .tbss
----------------
kledzik at apple.com wrote:
> The Atom::ContentTypes type*TLV* and were are added for Darwin which has a different model for thread locals that ELF.  You many want to review the ELF model to see if a different set of ContentTypes need to be added to support the ELF model, rather than trying to re-use the darwin types.
Any pointer to documentation for the Thread local ABI for Darwin ?


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



More information about the llvm-commits mailing list