efriedma added a comment.

LLVM never puts constant data into the BSS.  See isSuitableForBSS in 
lib/Target/TargetLoweringObjectFile.cpp.

(gcc's behavior is just weird... apparently, whether or not constant data is 
placed in the BSS with -fno-common depends on the syntactic form of the 
initializer?)


Repository:
  rL LLVM

https://reviews.llvm.org/D35917



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

Reply via email to