Skip to content
  1. Feb 21, 2019
  2. Feb 01, 2019
  3. Jan 30, 2019
  4. Jan 19, 2019
    • Chandler Carruth's avatar
      Update the file headers across all of the LLVM projects in the monorepo · 2946cd70
      Chandler Carruth authored
      to reflect the new license.
      
      We understand that people may be surprised that we're moving the header
      entirely to discuss the new license. We checked this carefully with the
      Foundation's lawyer and we believe this is the correct approach.
      
      Essentially, all code in the project is now made available by the LLVM
      project under our new license, so you will see that the license headers
      include that license only. Some of our contributors have contributed
      code under our old license, and accordingly, we have retained a copy of
      our old license notice in the top-level files in each project and
      repository.
      
      llvm-svn: 351636
      2946cd70
  5. Nov 01, 2018
    • Fangrui Song's avatar
      Set MAttrs in LTO mode · ccfc8415
      Fangrui Song authored
      Summary: Without this patch, MAttrs are not set.
      
      Patch by Yin Ma
      
      Reviewers: espindola, MaskRay, ruiu, pcc
      
      Reviewed By: MaskRay, pcc
      
      Subscribers: pcc, emaste, sbc100, inglorion, arichardson, aheejin, steven_wu, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D53446
      
      llvm-svn: 345884
      ccfc8415
  6. Sep 26, 2018
    • Ryan Prichard's avatar
      Allow later -z name=<int> args to override earlier args · ed5bb932
      Ryan Prichard authored
      Summary:
      lld already gives later -z options precedence in getZFlag().
      
      This matches the behavior of ld.bfd and ld.gold, where later options
      override earlier ones. (I tested with -z max-page-size and -z stack-size.)
      
      Reviewers: ruiu, espindola, grimar
      
      Reviewed By: ruiu, grimar
      
      Subscribers: grimar, emaste, arichardson, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D52526
      
      llvm-svn: 343145
      ed5bb932
  7. Sep 17, 2018
  8. Sep 15, 2018
    • Nico Weber's avatar
      lld-link: print demangled symbol names for "undefined symbol" diagnostics · da15acbd
      Nico Weber authored
      For this, add a few toString() calls when printing the "undefined symbol"
      diagnostics; toString() already does demangling on Windows hosts.
      
      Also make lld::demangleMSVC() (called by toString(Symbol*)) call LLVM's
      microsoftDemangle() instead of UnDecorateSymbolName() so that it works on
      non-Windows hosts – this makes both updating tests easier and provides a better
      user experience for people doing cross-links.
      
      This doesn't yet do the right thing for symbols starting with __imp_, but that
      can be improved in a follow-up.
      
      Differential Revision: https://reviews.llvm.org/D52104
      
      llvm-svn: 342332
      da15acbd
  9. Aug 27, 2018
  10. Aug 24, 2018
  11. Aug 23, 2018
  12. Jul 02, 2018
  13. May 22, 2018
  14. Apr 11, 2018
  15. Feb 28, 2018
  16. Jan 30, 2018
    • Rafael Espindola's avatar
      Pass CPU string to LTO pipeline. · 3a730d85
      Rafael Espindola authored
      Previously an empty CPU string was passed to the LTO engine which
      resulted in a generic CPU for which certain features like NOPL were
      disabled. This fixes that.
      
      Patch by Pratik Bhatu!
      
      llvm-svn: 323801
      3a730d85
  17. Jan 19, 2018
  18. Jan 17, 2018
  19. Dec 14, 2017
  20. Dec 11, 2017
    • Sam Clegg's avatar
      Use ErrorOS for log messages as well as error · 77c1def7
      Sam Clegg authored
      log are also diagnostics so it seems like they should to
      the same place as errors and debug messages.
      
      Without this change when I enable --verbose those messages
      go to stdout, but when I enable "-mllvm -debug" those messages
      go to stderr (because dbgs() goes to stderr by default).
      
      So I end up having to do this a lot:
       lld <args> > output_message 2>&1
      
      Differential Revision: https://reviews.llvm.org/D41033
      
      llvm-svn: 320427
      77c1def7
  21. Dec 05, 2017
  22. Nov 28, 2017
  23. Nov 27, 2017
  24. Nov 13, 2017
    • Rafael Espindola's avatar
      Try harder to delete the temporary file. · a4884cc3
      Rafael Espindola authored
      It is really hard to cover restarts in a debugger, SIGKILL or power
      failures. I will try to handle them in a followup patch, but it will
      not support all the systems lld has to run on.
      
      RemoveFileOnSignal takes care of crashes.
      
      So what is left is making sure all regular exits delete the file. This
      patch does that by moving the buffer to error handling. That is a bit
      of a hack, but seemed better than to generalize it to take a callback on
      construction.
      
      I will implement this on COFF on the next patch.
      
      llvm-svn: 318060
      a4884cc3
  25. Nov 08, 2017
  26. Oct 27, 2017
  27. Oct 26, 2017
    • Bob Haarman's avatar
      [lld] unified COFF and ELF error handling on new Common/ErrorHandler · b8a59c8a
      Bob Haarman authored
      Summary:
      The COFF linker and the ELF linker have long had similar but separate
      Error.h and Error.cpp files to implement error handling. This change
      introduces new error handling code in Common/ErrorHandler.h, changes the
      COFF and ELF linkers to use it, and removes the old, separate
      implementations.
      
      Reviewers: ruiu
      
      Reviewed By: ruiu
      
      Subscribers: smeenai, jyknight, emaste, sdardis, nemanjai, nhaehnle, mgorny, javed.absar, kbarton, fedor.sergeev, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D39259
      
      llvm-svn: 316624
      b8a59c8a
  28. Oct 17, 2017
  29. Oct 13, 2017
  30. Oct 03, 2017
  31. Oct 02, 2017
Loading