Skip to content
  1. 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
  2. Oct 22, 2013
  3. Oct 16, 2013
    • Rui Ueyama's avatar
      Make undefines check into an assertion. · f3630fe4
      Rui Ueyama authored
      Dead-strip root symbols can be undefined atoms, but should not really be
      nonexistent, because dead-strip root symbols should be added to initial
      undefined atoms at startup. Whenever you look up its name in the symbol
      table, some type of atom will always exist.
      
      llvm-svn: 192831
      f3630fe4
  4. Oct 08, 2013
    • Rui Ueyama's avatar
      Rename path() -> getPath(). · 53f31af7
      Rui Ueyama authored
      Differential Revision: http://llvm-reviews.chandlerc.com/D1853
      
      llvm-svn: 192167
      53f31af7
    • Nick Kledzik's avatar
      fix all EXPECT_EQ(.address) tests · 58070025
      Nick Kledzik authored
      llvm-svn: 192153
      58070025
    • Nick Kledzik's avatar
      fix test case failing on bot · 7e28e755
      Nick Kledzik authored
      llvm-svn: 192152
      7e28e755
    • Nick Kledzik's avatar
      Supoort mach-o encoded in yaml. · 30332b19
      Nick Kledzik authored
      This is the first step in how I plan to get mach-o object files support into 
      lld. We need to be able to test the mach-o Reader and Write on systems without 
      a mach-o tools. Therefore, we want to support a textual way (YAML) to represent 
      mach-o files.
      
      MachONormalizedFile.h defines an in-memory abstraction of the content of mach-o  
      files. The in-memory data structures are always native endianess and always
      use 64-bit sizes. That internal data structure can then be converted to or
      from three different formats: 1) yaml (text) encoded mach-o, 2) binary mach-o
      files, 3) lld Atoms.
      
      This patch defines the internal model and uses YAML I/O to implement the 
      conversion to and from the model to yaml. The next patch will implement
      the conversion from normalized to binary mach-o.
      
      This patch includes unit tests to validate the yaml conversion APIs.
      
      llvm-svn: 192147
      30332b19
  5. 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
  6. Sep 28, 2013
  7. Sep 27, 2013
  8. Sep 25, 2013
  9. Sep 24, 2013
    • Rui Ueyama's avatar
      [PECOFF] Ignore /verbose and /wx (warnings as errors) options. · a32150c3
      Rui Ueyama authored
      llvm-svn: 191317
      a32150c3
    • Rui Ueyama's avatar
      [PECOFF] Add /swaprun:{cd,net} options. · 98f269f9
      Rui Ueyama authored
      llvm-svn: 191276
      98f269f9
    • Rui Ueyama's avatar
      [PECOFF] Ignore /pdbaltpath option. · 0e08d775
      Rui Ueyama authored
      /PDBALTPATH:<path> is an option to embed a different path for the PDB file to
      the binary than the actual PDB file location. Because we don't support PDB
      file, we'll just ignore the option for now.
      
      llvm-svn: 191273
      0e08d775
    • Rui Ueyama's avatar
      [PECOFF] Ignore /pdb option. · c583d17a
      Rui Ueyama authored
      llvm-svn: 191269
      c583d17a
    • Rui Ueyama's avatar
      [PECOFF] Ignore /debug option. · 5ee413ed
      Rui Ueyama authored
      llvm-svn: 191268
      5ee413ed
    • Rui Ueyama's avatar
      Try to fix test failure on buildbot. · 12c0d773
      Rui Ueyama authored
      llvm-svn: 191259
      12c0d773
    • Rui Ueyama's avatar
      [PECOFF] Add /nodefaultlib command line option. · f062c84a
      Rui Ueyama authored
      llvm-svn: 191254
      f062c84a
    • Rui Ueyama's avatar
      [PECOFF] Do not allow space to separate command line option and its value. · 456740c7
      Rui Ueyama authored
      We used to support both Windows and Unix style command line options. In Windows
      style, an option and its value are separated by ":" (colon). In Unix, separator
      is a space. Accepting both styles were convenient, but we can no longer allow
      Unix style because I found that can be ambiguous.
      
      For example, /nodefaultlib option takes an optional argument. In Windows style
      it's going to be something like "/nodefaultlib:foo". There's no ambiguity what
      "foo" means. However, if the option is "/nodefaultlib foo", "foo" can be
      interpreted either an optional argument for "/nodefaultlib" or an input file
      "foo.obj". We should just stop accepting the non-standard command line style.
      
      llvm-svn: 191247
      456740c7
    • Rui Ueyama's avatar
      [PECOFF] Ignore /delay and /delayload options. · 5c59ab7f
      Rui Ueyama authored
      These options are to enable DLL delay loading. If enabled, DLL is loaded
      at run time by a helper routine when a function in the DLL is actually called
      for the first time, instead of making the Windows loader to load all DLLs at
      startup time. This should shorten startup delay if an executable have many
      imported symbols.
      
      The linker needs to create a "delayed import table" and link delayimp.lib in
      which helper functions are defined to support the feature.
      
      For now, we just ignore the options, so that the linker does not complain when
      it sees these options. We want to support them in the future.
      
      llvm-svn: 191232
      5c59ab7f
  10. Sep 23, 2013
  11. 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
  12. Sep 19, 2013
  13. Sep 12, 2013
  14. Sep 11, 2013
  15. Sep 08, 2013
  16. Sep 07, 2013
  17. Sep 06, 2013
Loading