Skip to content
  1. Nov 18, 2013
    • Rui Ueyama's avatar
      Replace unnecessary vector copy with reference. · 11d1f187
      Rui Ueyama authored
      llvm-svn: 194988
      11d1f187
    • Rui Ueyama's avatar
      Add an assert for NativeReferenceIvarsV1. · 2bafe735
      Rui Ueyama authored
      The maximum number of references the file with NativeReferenceIvarsV1 can
      contain is 65534. If a file larger than that is converted to Native format,
      the conversion will fail without any error message. This caused a subtle bug
      that the LLD would produce a broken executable only when input files contain
      too many references.
      
      This issue exists since the RoundTripNativeTest is introduced in r193585. Since
      then, it seems that nobody have linked any program having more than 65534
      relocations with the LLD. Otherwise we would have found it earlier.
      
      llvm-svn: 194987
      2bafe735
  2. Nov 16, 2013
  3. Nov 15, 2013
  4. Nov 14, 2013
  5. Nov 13, 2013
  6. Nov 12, 2013
  7. Nov 11, 2013
  8. Nov 10, 2013
    • Rui Ueyama's avatar
      [ELF] Un-break undef-from-main-dso.test on MSVC 2012. · 78d1acb3
      Rui Ueyama authored
      The result of sizeof(SymbolTable<ELFT>::SymbolEntry) in DynamicSymbolTable
      <ELFT>::write() was different from the same expression in RelocationTable
      <ELFT>::write(), although the same template parameters were passed. They were
      40 and 32, respectively. As a result, the same vector was treated as a
      vector of 40 byte values in some places and a vector of 32 values in other
      places. That caused an weird issue, resulting in collapse of the rela.dyn
      section.
      
      I suspect that this is a padding size calculation bug in MSVC 2012, but I
      may be wrong. Reordering the fields to eliminate padding seems to fix the
      issue.
      
      llvm-svn: 194349
      78d1acb3
  9. Nov 09, 2013
  10. Nov 08, 2013
Loading