Skip to content
  1. Jul 18, 2017
  2. Jul 17, 2017
  3. Jul 15, 2017
  4. Jul 14, 2017
  5. Jul 13, 2017
    • Rui Ueyama's avatar
      Move feature-specific functions out of Strings.cpp. · 1e77ad14
      Rui Ueyama authored
      Functions declared in Strings.h should provide generic string operations
      for the linker, but some of them are too specific to some features. This
      patch moves them to the location where they are used.
      
      llvm-svn: 307949
      1e77ad14
    • Reid Kleckner's avatar
      [COFF] Bounds check relocations · 3b8acb2c
      Reid Kleckner authored
      Summary:
      This would have caught the invalid object file I used in my test case in
      r307726. The OOB was only caught by ASan later, which is slow and
      doesn't work on some platforms. LLD should do some basic input
      validation itself. This check isn't perfect, so relocations can reach
      OOB by up to seven bytes, but it's better than what we had and probably
      cheap.
      
      Reviewers: ruiu
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D35371
      
      llvm-svn: 307948
      3b8acb2c
    • Reid Kleckner's avatar
      [PDB] Fix type server handling for archives · 6597c28d
      Reid Kleckner authored
      Summary:
      This fixes type indices for SDK or CRT static archives. Previously we'd
      try to look next to the archive object file path, which would not exist
      on the local machine.
      
      Also error out if we can't resolve a type server record. Hypothetically
      we can recover from this error by discarding debug info for this object,
      but that is not yet implemented.
      
      Reviewers: ruiu, amccarth
      
      Subscribers: aprantl, hiraditya, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D35369
      
      llvm-svn: 307946
      6597c28d
    • Rafael Espindola's avatar
      Refactor gdb index creation. · 300b3867
      Rafael Espindola authored
      I have a patch to let DwarfContext defer to lld for getting section
      contents and relocations.
      
      That is a pretty big performance improvement.
      
      This is just a refactoring to make that easier to do.
      
      This change makes the *creation* of gdb index a dedicated step and
      makes that templated. That is so that we can uses Elf_Rel in the code.
      
      llvm-svn: 307867
      300b3867
  6. Jul 12, 2017
  7. Jul 11, 2017
Loading