Skip to content
  • Rui Ueyama's avatar
    [PECOFF] Add /alternatename option parser. · 34d6e9b3
    Rui Ueyama authored
    /ALTERNATENAME is a rarely-used, undocumented command line option that is
    needed to link LLD for release build. It seems that the option is for defining
    an weak alias; /alternatename:foo=bar defines weak symbol "foo" for "bar".
    If "foo" is defined in an input file, it'll be linked normally and the command
    line option will have no effect. If it's not defined, "foo" will be handled
    as an alias for "bar".
    
    This patch implements the parser for the option. The actual weak alias handling
    will be implemented in a separate patch.
    
    llvm-svn: 196743
    34d6e9b3
Loading