[PATCH] D35917: [mips] Implement -muninit-const-in-rodata
    Eli Friedman via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Aug  3 12:05:47 PDT 2017
    
    
  
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
    
    
More information about the cfe-commits
mailing list