[PATCH] D70284: Constant strings emitted when `-fno-constant-cfstrings` is passed should allow dead stripping

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 14:37:30 PDT 2020


dexonsmith requested changes to this revision.
dexonsmith added a comment.
This revision now requires changes to proceed.

Ah, I think it's because you filled in the "project" field which I think we usually leave blank. Maybe now I can "request changes".



================
Comment at: clang/lib/CodeGen/CGObjCMac.cpp:1981
 
+// This is only used when `-fno-constant-cfstrings` is given
 ConstantAddress
----------------
Please drop this comment.


================
Comment at: clang/test/CodeGenObjC/ns-constant-strings.m:47
+// CHECK-NONFRAGILE: attributes #0 = { "objc_arc_inert" }
\ No newline at end of file

----------------
Please fix this missing newline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70284



More information about the cfe-commits mailing list