Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 4, 2013
Commits on Oct 3, 2013
  1. [ELF] Refactor x86-64 relocation pass.

    authored
    This renames the GOTPLTPass to RelocationPass and refactors it to better
    represent the different types of relocations.
  2. [ELF] Fix uninitalized value.

    authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191924 91177308-0d34-0410-b5e6-96231b3b80d8
  3. [Core] Fix unstable sort for unordered atoms.

    authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191867 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Oct 2, 2013
  1. [Core] Fix heap overflow in LayoutPass.

    authored
    Found this with asan. Code assumes that find doesn't return end, thus if
    both atoms didn't have followon roots it would still compare their positions.
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191865 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Sep 28, 2013
  1. [mach-o] Add support for -mllvm to darwin driver

    Nick Kledzik authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191594 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Sep 27, 2013
  1. Rui Ueyama

    Add a comment to ReaderCOFF::parseFile.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191583 91177308-0d34-0410-b5e6-96231b3b80d8
  2. [mach-o] switch to use llvm::MachO:: constants

    Nick Kledzik authored
    Stop using some locally defined mach-o constants.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191581 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Rui Ueyama

    Re-submit [PECOFF] Add a test for the import table.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191580 91177308-0d34-0410-b5e6-96231b3b80d8
  4. [ELF] Handle copy relocations for PC32.

    authored
    This will eventually need to be refactored to better handle COPY relocations,
    as other relocations can also generate them. I'm not yet sure the exact
    circumstances in which they are needed yet.
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191567 91177308-0d34-0410-b5e6-96231b3b80d8
  5. [ELF] Mark STT_GNU_IFUNC symbols as code.

    authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191566 91177308-0d34-0410-b5e6-96231b3b80d8
  6. Rui Ueyama

    Revert "[PECOFF] Add a test for the import table."

    rui314 authored
    This reverts r191469 because the original patch this one depends on (r191472)
    was reverted.
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191479 91177308-0d34-0410-b5e6-96231b3b80d8
  7. Rui Ueyama

    [PECOFF] Add a test for the import table.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191475 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Sep 26, 2013
  1. Rui Ueyama

    [PECOFF] Enable input file logging if /debug is given.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191469 91177308-0d34-0410-b5e6-96231b3b80d8
  2. [ELF] Add COPY relocations.

    authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191467 91177308-0d34-0410-b5e6-96231b3b80d8
  3. [Core] Add type and size to SharedLibraryAtom.

    authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191466 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Sep 25, 2013
  1. [ELF] Fix use after free.

    authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191403 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Sep 24, 2013
  1. Rui Ueyama

    Make Driver::link and LinkingContext::validate return true on success.

    rui314 authored
    This patch inverts the return value of these functions, so that they return
    "true" on success and "false" on failure. The meaning of boolean return value
    was mixed in LLD; for example, InputGraph::validate() returns true on success.
    With this patch they'll become consistent.
    
    CC: llvm-commits
    
    Differential Revision: http://llvm-reviews.chandlerc.com/D1748
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191341 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Rui Ueyama

    [PECOFF] Fix /? option and add a test for the flag.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191320 91177308-0d34-0410-b5e6-96231b3b80d8
  3. Rui Ueyama
  4. Rui Ueyama

    [PECOFF] Add /swaprun:{cd,net} options.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191276 91177308-0d34-0410-b5e6-96231b3b80d8
  5. Rui Ueyama

    [PECOFF] Ignore /pdbaltpath option.

    rui314 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.
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191273 91177308-0d34-0410-b5e6-96231b3b80d8
  6. Rui Ueyama

    Expand auto to improve code readability.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191272 91177308-0d34-0410-b5e6-96231b3b80d8
  7. Rui Ueyama
  8. Rui Ueyama

    [PECOFF] Remove redundant comments.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191270 91177308-0d34-0410-b5e6-96231b3b80d8
  9. Rui Ueyama

    [PECOFF] Ignore /pdb option.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191269 91177308-0d34-0410-b5e6-96231b3b80d8
  10. Rui Ueyama

    [PECOFF] Ignore /debug option.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191268 91177308-0d34-0410-b5e6-96231b3b80d8
  11. Rui Ueyama

    Try to fix test failure on buildbot.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191259 91177308-0d34-0410-b5e6-96231b3b80d8
  12. Rui Ueyama

    [PECOFF] Add /nodefaultlib command line option.

    rui314 authored
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191254 91177308-0d34-0410-b5e6-96231b3b80d8
Commits on Sep 23, 2013
  1. Rui Ueyama

    [PECOFF] Do not allow space to separate command line option and its v…

    rui314 authored
    …alue.
    
    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.
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191247 91177308-0d34-0410-b5e6-96231b3b80d8
  2. Rui Ueyama

    [PECOFF] Ignore /delay and /delayload options.

    rui314 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.
    
    git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@191232 91177308-0d34-0410-b5e6-96231b3b80d8
Something went wrong with that request. Please try again.