Skip to content
  1. Aug 24, 2017
  2. Aug 23, 2017
  3. Aug 22, 2017
  4. Aug 21, 2017
  5. Aug 19, 2017
  6. Aug 18, 2017
  7. Aug 17, 2017
  8. Aug 16, 2017
  9. Aug 15, 2017
    • Zachary Turner's avatar
      Fix warning about unused variable. · 1bc6cb64
      Zachary Turner authored
      I'm explicitly ignoring the warning by casting to void instead of
      deleting the local assignment, because it's confusing to see a
      function that fails when its return value evaluates to true.
      But when you see that it's a std::error_code, it makes more sense.
      
      llvm-svn: 310965
      1bc6cb64
    • Zachary Turner's avatar
      [LLD COFF/PDB] Incrementally update the build id. · 024323cb
      Zachary Turner authored
      Previously, our algorithm to compute a build id involved hashing the
      executable and storing that as the GUID in the CV Debug Record chunk,
      and setting the age to 1.
      
      This breaks down in one very obvious case: a user adds some newlines to
      a file, rebuilds, but changes nothing else. This causes new line
      information and new file checksums to get written to the PDB, meaning
      that the debug info is different, but the generated code would be the
      same, so we would write the same build over again with an age of 1.
      
      Anyone using a symbol cache would have a problem now, because the
      debugger would open the executable, look at the age and guid, find a
      matching PDB in the symbol cache and then load it. It would never copy
      the new PDB to the symbol cache.
      
      This patch implements the canonical Windows algorithm for updating
      a build id, which is to check the existing executable first, and
      re-use an existing GUID while bumping the age if it already
      exists.
      
      Differential Revision: https://reviews.llvm.org/D36758
      
      llvm-svn: 310961
      024323cb
    • Rui Ueyama's avatar
      Remove GdbIndexSection::finalizeContents. · 2b6631bb
      Rui Ueyama authored
      GdbIndexSection doesn't need lazy finalization because when an instance
      of the class is created, we already know all debug info sections.
      We can initialize the instnace in the ctor.
      
      llvm-svn: 310931
      2b6631bb
    • Rui Ueyama's avatar
      Use ArrayRef instead of std::vector&. · e5d642cf
      Rui Ueyama authored
      llvm-svn: 310930
      e5d642cf
    • Rui Ueyama's avatar
      Update a comment and rename a function. · 2114cab9
      Rui Ueyama authored
      llvm-svn: 310929
      2114cab9
    • Rui Ueyama's avatar
      Remove SymbolTable::findInCurrentDSO. · 43099e44
      Rui Ueyama authored
      This function doesn't seem to add value to the symbol table as
      it is easy to write code without it.
      
      llvm-svn: 310925
      43099e44
Loading