[PATCH] D152604: [Driver] Default -fsanitize-address-globals-dead-stripping to true for ELF
    Reid Kleckner via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Mon Jun 12 14:24:39 PDT 2023
    
    
  
rnk added a comment.
I think there's a fair bit more cleanup and simplification to be done, see asanUsesGlobalsGC <https://github.com/llvm/llvm-project/blob/main/clang/lib/CodeGen/BackendUtil.cpp#L232> and the comments there. We could check CGOpts.DataSections right there, for example, and rip out the whole cc1 option. Feel free to approach it incrementally, this makes sense to me policy wise.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152604/new/
https://reviews.llvm.org/D152604
    
    
More information about the cfe-commits
mailing list