Skip to content
  1. Sep 12, 2013
    • Rui Ueyama's avatar
      Add a fallback mechanism for undefined atom. · e5416ec2
      Rui Ueyama authored
      In COFF, an undefined symbol can have up to one alternative name. If a symbol
      is resolved by its regular name, then it's linked normally. If a symbol is not
      found in any input files, all references to the regular name are resolved using
      the alternative name. If the alternative name is not found, it's a link error.
      This mechanism is called "weak externals".
      
      To support this mechanism, I added a new member function fallback() to undefined
      atom. If an undefined atom has the second name, fallback() returns a new undefined
      atom that should be used instead of the original one to resolve undefines. If it
      does not have the second name, the function returns nullptr.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1550
      
      llvm-svn: 190625
      e5416ec2
  2. Sep 08, 2013
  3. Sep 07, 2013
  4. Sep 04, 2013
  5. Sep 03, 2013
  6. Aug 31, 2013
  7. Aug 28, 2013
  8. Aug 23, 2013
    • Shankar Easwaran's avatar
      [lld][ELF] Rename typeTLV content type for ELF · d9e0a493
      Shankar Easwaran authored
      typeTLV content type is used by Darwin to represent thread local
      storage. A new contentType has to be made to represent ELF
      thread local storage data. These have been set to
      
      - typeThreadZeroFill (represents TBSS storage)
      - typeThreadData     (represents TDATA storage)
      
      llvm-svn: 189137
      d9e0a493
  9. Aug 09, 2013
  10. Aug 07, 2013
  11. Jul 24, 2013
  12. Jul 11, 2013
    • Rui Ueyama's avatar
      [PECOFF] Support linking against DLL. · c8a53795
      Rui Ueyama authored
      This patch adds a new pass, IdataPass, to transform shared atom references
      to real references and to construct the .idata section data. With this patch
      lld can produce a working Hello World program by linking it against
      kernel32.dll and user32.dll.
      
      Reviewers: Bigcheese
      
      CC: llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1096
      
      llvm-svn: 186071
      c8a53795
  13. Jun 21, 2013
  14. Jun 11, 2013
    • Rafael Espindola's avatar
      Factor duplicated yamlReader creation. · c1b32686
      Rafael Espindola authored
      The yaml reader is not specific to any file format. This patch moves
      it to TargetInfo and makes validate a non virtual interface so that it
      can be constructed from a single location.
      
      The same method will be used to create a reader for llvm bitcode
      files.
      
      llvm-svn: 183740
      c1b32686
  15. May 28, 2013
  16. May 09, 2013
  17. May 08, 2013
  18. Apr 24, 2013
  19. Apr 11, 2013
  20. Apr 06, 2013
  21. Apr 05, 2013
  22. Apr 04, 2013
    • Nick Kledzik's avatar
      This is my Driver refactoring patch. · c314b46e
      Nick Kledzik authored
      The major changes are:
      1) LinkerOptions has been merged into TargetInfo
      2) LinkerInvocation has been merged into Driver
      3) Drivers no longer convert arguments into an intermediate (core) argument 
         list, but instead create a TargetInfo object and call setter methods on 
         it. This is only how in-process linking would work. That is, you can 
         programmatically set up a TargetInfo object which controls the linking.
      4) Lots of tweaks to test suite to work with driver changes
      5) Add the DarwinDriver
      6) I heavily doxygen commented TargetInfo.h
      
      Things to do after this patch is committed:
      a) Consider renaming TargetInfo, given its new roll. 
      b) Consider pulling the list of input files out of TargetInfo. This will 
         enable in-process clients to create one TargetInfo the re-use it with 
         different input file lists.
      c) Work out a way for Drivers to format the warnings and error done in 
         core linking.
      
      llvm-svn: 178776
      c314b46e
  23. Mar 20, 2013
  24. Mar 14, 2013
  25. Mar 01, 2013
  26. Feb 24, 2013
  27. Feb 22, 2013
  28. Feb 03, 2013
  29. Jan 31, 2013
  30. Jan 23, 2013
  31. Jan 22, 2013
  32. Jan 15, 2013
  33. Jan 09, 2013
    • Nick Kledzik's avatar
      Better tie together ContentType and Permissions. · cc3d2dca
      Nick Kledzik authored
      Since most content types (e.g. typeCode) have a 
      preferred Permission, add a function to do that mapping.
      Then hook up to YAML Reader and Writer such that
      the 'permissions:' key does not need to be specified unless
      overriding what the content type prefers.
      
      llvm-svn: 171929
      cc3d2dca
    • Nick Kledzik's avatar
      fix typo · 80fe9079
      Nick Kledzik authored
      llvm-svn: 171916
      80fe9079
Loading