[PATCH] D40925: Add option -fkeep-static-consts
    Elizabeth Andrews via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Feb 14 07:30:47 PST 2018
    
    
  
eandrews added a comment.
I think we can use CodeGenModule::addUsedGlobal for this purpose. I noticed this is what attribute 'used' calls. I need to look into it though.
https://reviews.llvm.org/D40925
    
    
More information about the cfe-commits
mailing list