[PATCH] [ELF] Support --defsym=<symbol>=<symbol>.
    Simon Atanasyan 
    simon at atanasyan.com
       
    Thu Apr 17 07:42:50 PDT 2014
    
    
  
================
Comment at: include/lld/ReaderWriter/ELFLinkingContext.h:235
@@ -230,1 +234,3 @@
 
+  const std::map<std::string, std::string> getAliases() const {
+    return _aliasSymbols;
----------------
I think it is a typo here. The map should be returned be reference not value.
http://reviews.llvm.org/D3332
BRANCH
  alias
ARCANIST PROJECT
  lld
    
    
More information about the llvm-commits
mailing list