jfb added a comment.

Overall this seems fine, but I'm no ObjC expert either so I'll defer to 
@rjmccall



================
Comment at: clang/lib/CodeGen/CGObjCMac.cpp:7193
+  if (!GV || GV->getType() != ObjCTypes.ClassnfABITy->getPointerTo()) {
+    auto *NewGV = new llvm::GlobalVariable(ObjCTypes.ClassnfABITy, false, L,
+                                           nullptr, Name);
----------------
Add `/* isConstant=*/false`


Repository:
  rC Clang

https://reviews.llvm.org/D53154



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

Reply via email to