vsk added a comment.

Thanks for working on this!



================
Comment at: lib/CodeGen/CGObjCMac.cpp:1983
+  else
+    GV->setSection("__OBJC,__cstring_object,regular,no_dead_strip");
+
----------------
Are constant NSStrings within the shared cache ever dirtied? I was under the 
impression that they couldn't be, so I'm not sure there's an advantage to 
making them internal.


================
Comment at: lib/CodeGen/CGObjCMac.cpp:3113
+  return CreateMetadataVar("_OBJC_PROTOCOLEXT_" + PD->getName(), values,
+                           StringRef(), CGM.getPointerAlign(), true, false);
 }
----------------
Could you use '/*ExplicitDataSegment=*/false' (or similar) for clarity here and 
elsewhere?


Repository:
  rC Clang

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

https://reviews.llvm.org/D61454



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to