Skip to content
  1. Dec 12, 2013
    • Rui Ueyama's avatar
      [PECOFF] Add /dllexport option. · 4cf5a161
      Rui Ueyama authored
      /DLLEXPORT is a command line option to export a symbol. __declspec(dllexport)
      uses that to make the linker to export DLLExport'ed functions, by adding the
      option to .drectve section.
      
      This patch implements the parser of the command line option.
      
      llvm-svn: 197122
      4cf5a161
  2. Dec 09, 2013
    • 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
  3. Dec 04, 2013
    • Rui Ueyama's avatar
      [PECOFF] Ignore /functionpadmin option. · ea35c0ba
      Rui Ueyama authored
      If /functionpadmin is specified, the linker is supposed to make room at the
      beginning of each function, so that self-modifying program would easily
      hotpatch existing functions. Since I'm not sure if this feature is really used,
      I'll make LLD to ignore the option for now.
      
      llvm-svn: 196363
      ea35c0ba
  4. Dec 03, 2013
  5. Nov 22, 2013
  6. Nov 20, 2013
  7. Nov 19, 2013
  8. Nov 15, 2013
  9. Nov 06, 2013
    • Rui Ueyama's avatar
      [PECOFF] Add /section option. · 108b3713
      Rui Ueyama authored
      /section command line option is to set/reset attributes of the Characteristics
      field in the section header. You can set non-default values with this option.
      You can make .data section executable with this, for example.
      
      This patch implements the parser of the command line option. The code to use
      the parsed values will be committed in a separate patch.
      
      llvm-svn: 194133
      108b3713
    • Rui Ueyama's avatar
      [PECOFF] Make /disallowlib an alias for /nodefaultlib. · 67b277c3
      Rui Ueyama authored
      I'm not sure if it is really an alias for /nodefaultlib, but I can say that
      they are at least similar. Making it an alias would be better than ignoring it.
      
      llvm-svn: 194131
      67b277c3
    • Rui Ueyama's avatar
      [PECOFF] Ignore /disallowlib. · c13f43f4
      Rui Ueyama authored
      msvcrt.lib contains "/disallowlib" command line option in its .drectve section.
      I couldn't spot any documentation for the option. Ignore it for now so that we
      can link the library without error.
      
      llvm-svn: 194114
      c13f43f4
  10. Oct 26, 2013
    • Rui Ueyama's avatar
      [PECOFF] Parse /merge command line option. · 863931c9
      Rui Ueyama authored
      /merge:<from>=<to> option makes the linker to combine "from" section to "to"
      section. This patch is to parse the option. The actual feature will be
      implemented in a subsequent patch.
      
      llvm-svn: 193454
      863931c9
  11. Oct 22, 2013
  12. Sep 24, 2013
  13. Sep 23, 2013
  14. Sep 20, 2013
    • Rui Ueyama's avatar
      [PECOFF] Ignore /incremental option. · 50893942
      Rui Ueyama authored
      /incremental is an option to enable incremental linking. We will eventually
      want to implement the feature for better performance, but in the meantime,
      we want to just ignore the option so that the linker does not output unknown
      option error when it sees /incremental option.
      
      llvm-svn: 191063
      50893942
    • Rui Ueyama's avatar
      [PECOFF] Ignore /errorReport command line option. · 91a95a59
      Rui Ueyama authored
      /errorReport is a command line option to let the linker to report internal
      linker error information to Microsoft. For LLD that option doesn't make any
      sense, so it just ignores the option.
      
      llvm-svn: 191044
      91a95a59
  15. Sep 19, 2013
  16. Sep 06, 2013
  17. Sep 04, 2013
    • Rui Ueyama's avatar
      [PECOFF] Ignore options starting with -? · 959aebf8
      Rui Ueyama authored
      The compiler is allowed to add a linker option starting with -?<name> to
      .drectve section. If the linker can interpret -<name>, it's processed as if
      there's no question mark there. If not, such option is silently ignored.
      
      This is a COFF's feature to allow the compiler to emit new linker options
      while keeping compatibility with older linkers.
      
      llvm-svn: 189897
      959aebf8
  18. Aug 29, 2013
  19. Aug 27, 2013
  20. Aug 24, 2013
  21. Aug 13, 2013
    • Hans Wennborg's avatar
      [PECOFF] Handle "--" option explicitly · 04632f1f
      Hans Wennborg authored
      This used to be handled automagically by the option parsing library,
      but after LLVM r188314, we should handle it ourselves.
      
      No functionality change, but adds a test.
      
      llvm-svn: 188318
      04632f1f
  22. Aug 01, 2013
Loading