Skip to content
  1. Oct 07, 2013
    • Shankar Easwaran's avatar
      [lld][InputGraph] Change the Resolver to use inputGraph · a96f3a3d
      Shankar Easwaran authored
      Changes :-
      
      a) Functionality in InputGraph to insert Input elements at any position
      b) Functionality in the Resolver to use nextFile
      c) Move the functionality of assigning file ordinals to InputGraph
      d) Changes all inputs to MemoryBuffers
      e) Remove LinkerInput, InputFiles, ReaderArchive
      
      llvm-svn: 192081
      a96f3a3d
  2. 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
  3. Aug 07, 2013
  4. 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
  5. Mar 20, 2013
  6. Mar 14, 2013
  7. Jan 31, 2013
  8. Jan 22, 2013
  9. Jan 15, 2013
  10. Jan 04, 2013
  11. Jun 01, 2012
  12. Apr 20, 2012
  13. Apr 18, 2012
  14. Apr 03, 2012
  15. Mar 29, 2012
  16. Mar 28, 2012
  17. Feb 22, 2012
  18. Feb 15, 2012
  19. Jan 11, 2012
    • Nick Kledzik's avatar
      A couple of big refactorings: 1) Move most attributes of Atom down to... · f4fb2c5a
      Nick Kledzik authored
      A couple of big refactorings: 1) Move most attributes of Atom down to DefinedAtom, so only atoms representing definitions need to implement them. 2) Remove definitionTentative, definitionWeak, mergeDuplicates, and autoHide.  Replace with merge and interposable attributes. 3) Make all methods on Atom be virtual so that future object file readers can lazily generated attributes
      
      llvm-svn: 147903
      f4fb2c5a
  20. Jan 09, 2012
  21. Jan 05, 2012
  22. Dec 22, 2011
  23. Dec 20, 2011
  24. Dec 18, 2011
Loading