[PATCH] D37059: [ELF] - LTO: do not optimize away symbols accessed from linkerscript.
    Peter Collingbourne via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 14 09:25:04 PDT 2017
    
    
  
pcc accepted this revision.
pcc added a comment.
LGTM
================
Comment at: ELF/LTO.cpp:128
 
+static llvm::DenseSet<StringRef> getScriptSymbols() {
+  llvm::DenseSet<StringRef> Ret;
----------------
I would inline this function into the caller.
https://reviews.llvm.org/D37059
    
    
More information about the llvm-commits
mailing list