Skip to content
  1. Nov 22, 2019
  2. Nov 08, 2019
  3. Oct 30, 2019
  4. Oct 25, 2019
    • Saleem Abdulrasool's avatar
      build: remove `LLVM_CXX_STD` extension point · 2724d9e1
      Saleem Abdulrasool authored
      This extension point is not needed. Provide the equivalent option
      through `CMAKE_CXX_STANDARD` which mirrors the previous extension point. Rely on
      CMake to provide the check for the compiler instead.
      2724d9e1
    • David Tenty's avatar
      [NFC] Rename LLVM_NO_DEAD_STRIP · 11c2a85d
      David Tenty authored
      Summary:
      The variable LLVM_NO_DEAD_STRIP is set in LLVM cmake files when building executables that might make use of plugins .The name of the variable does not convey the actual intended usage (i.e. for use with tools that have plugins), just what the eventual effect of setting in on some (i.e. not garbage collecting unused symbols).
      
      This patch renames it to LLVM_SUPPORT_PLUGINS to convey the intended usage, which will allow subsequent patches to add behavior to support that in different ways without confusion about whether it will do on, for example, non-gnu platforms.
      
      Reviewers: hubert.reinterpretcast, stevewan
      
      Reviewed By: stevewan
      
      Subscribers: cfe-commits, mgorny, llvm-commits
      
      Tags: #llvm, #clang
      
      Differential Revision: https://reviews.llvm.org/D69356
      11c2a85d
  5. Sep 25, 2019
  6. Sep 18, 2019
  7. Sep 04, 2019
  8. Sep 03, 2019
  9. Aug 20, 2019
  10. Aug 19, 2019
  11. Aug 16, 2019
    • Hubert Tong's avatar
      [AIX] For XL, pick GCC-compatible std & default warning options · 67af3fa7
      Hubert Tong authored
      Summary:
      LLVM now requires C++14. For IBM XL compilers with C++14 support, this
      can be done with the GCC-style options. The relevant block in the CMake
      file is split up into smaller parts as part of this patch to allow the
      common cases to be shared.
      
      Reviewers: jfb, jasonliu, daltenty, xingxue
      
      Reviewed By: jfb, xingxue
      
      Subscribers: mstorsjo, mgorny, dexonsmith, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D66256
      
      llvm-svn: 369058
      67af3fa7
  12. Aug 14, 2019
  13. Jul 31, 2019
  14. Jul 23, 2019
  15. Jun 24, 2019
  16. Jun 04, 2019
  17. Jun 02, 2019
    • Don Hinton's avatar
      [test] Fix plugin tests · ccbda6b0
      Don Hinton authored
      Recommit of r361790 that was temporarily reverted in r361793 due to bot breakage.
      
      Summary:
      The following changes were required to fix these tests:
      
      1) Change LLVM_ENABLE_PLUGINS to an option and move it to
         llvm/CMakeLists.txt with an appropriate default -- which matches
         the original default behavior.
      
      2) Move the plugins directory from clang/test/Analysis
         clang/lib/Analysis.  It's not enough to add an exclude to the
         lit.local.cfg file because add_lit_testsuites recurses the tree and
         automatically adds the appropriate `check-` targets, which don't
         make sense for the plugins because they aren't tests and don't
         have `RUN` statements.
      
         Here's a list of the `clang-check-anlysis*` targets with this
         change:
      
      ```
        $ ninja -t targets all| sed -n "s/.*\/\(check[^:]*\):.*/\1/p" | sort -u | grep clang-analysis
        check-clang-analysis
        check-clang-analysis-checkers
        check-clang-analysis-copypaste
        check-clang-analysis-diagnostics
        check-clang-analysis-engine
        check-clang-analysis-exploration_order
        check-clang-analysis-html_diagnostics
        check-clang-analysis-html_diagnostics-relevant_lines
        check-clang-analysis-inlining
        check-clang-analysis-objc
        check-clang-analysis-unified-sources
        check-clang-analysis-z3
      ```
      
      3) Simplify the logic and only include the subdirectories under
         clang/lib/Analysis/plugins if LLVM_ENABLE_PLUGINS is set.
      
      Reviewed By: NoQ
      
      Tags: #clang, #llvm
      
      Differential Revision: https://reviews.llvm.org/D62445
      
      llvm-svn: 362328
      ccbda6b0
  18. May 31, 2019
    • Petr Hosek's avatar
      [CMake] Provide an option to use relative paths in debug info · 2ab7af29
      Petr Hosek authored
      CMake always uses absolute file paths in the generated compiler
      invocation which results in absolute file paths being embedded in debug
      info. This is undesirable when building a toolchain e.g. on bots as the
      debug info may embed the bot source checkout path which is meaningless
      anywhere else.
      
      This change introduces the LLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO which uses
      -fdebug-prefix-map (where supported) options to rewrite paths embedded
      into debug info with relative ones. Additionally, LLVM_SOURCE_PREFIX can
      be used to override the path to source directory with a different one.
      
      Differential Revision: https://reviews.llvm.org/D62622
      
      llvm-svn: 362185
      2ab7af29
  19. May 28, 2019
    • Alexandre Ganea's avatar
      Revert r361826, as it still breaks LLDB. · 9bf766c5
      Alexandre Ganea authored
      llvm-svn: 361837
      9bf766c5
    • Alexandre Ganea's avatar
      [CMake] Default options for faster executables on MSVC · c4eee405
      Alexandre Ganea authored
      Differential Revision: https://reviews.llvm.org/D55056
      
      llvm-svn: 361826
      c4eee405
    • Don Hinton's avatar
      Revert [test] Fix plugin tests · 102b4b24
      Don Hinton authored
      This reverts r361790 (git commit fe5eaab2)
      
      It's causing buildbot breakage, so reverting while I investigate.
      
      llvm-svn: 361793
      102b4b24
    • Don Hinton's avatar
      [test] Fix plugin tests · fe5eaab2
      Don Hinton authored
      Summary:
      The following changes were required to fix these tests:
      
      1) Change LLVM_ENABLE_PLUGINS to an option and move it to
         llvm/CMakeLists.txt with an appropriate default -- which matches
         the original default behavior.
      
      2) Move the plugins directory from clang/test/Analysis
         clang/lib/Analysis.  It's not enough to add an exclude to the
         lit.local.cfg file because add_lit_testsuites recurses the tree and
         automatically adds the appropriate `check-` targets, which don't
         make sense for the plugins because they aren't tests and don't
         have `RUN` statements.
      
         Here's a list of the `clang-check-anlysis*` targets with this
         change:
      
      ```
        $ ninja -t targets all| sed -n "s/.*\/\(check[^:]*\):.*/\1/p" | sort -u | grep clang-analysis
        check-clang-analysis
        check-clang-analysis-checkers
        check-clang-analysis-copypaste
        check-clang-analysis-diagnostics
        check-clang-analysis-engine
        check-clang-analysis-exploration_order
        check-clang-analysis-html_diagnostics
        check-clang-analysis-html_diagnostics-relevant_lines
        check-clang-analysis-inlining
        check-clang-analysis-objc
        check-clang-analysis-unified-sources
        check-clang-analysis-z3
      ```
      
      3) Simplify the logic and only include the subdirectories under
         clang/lib/Analysis/plugins if LLVM_ENABLE_PLUGINS is set.
      
      Reviewed By: NoQ
      
      Tags: #clang, #llvm
      
      Differential Revision: https://reviews.llvm.org/D62445
      
      llvm-svn: 361790
      fe5eaab2
  20. May 25, 2019
  21. May 22, 2019
  22. May 21, 2019
    • Nico Weber's avatar
      Tweaks for setting CMAKE_LINKER to lld-link · c6f363f5
      Nico Weber authored
      - Just look for "lld-link", not "lld-link.exe".
        llvm/cmake/platforms/WinMsvc.cmake for example sets CMAKE_LINKER to
        lld-link without .exe
      
      - Stop passing -gwarf to the compiler in sanitizer options when lld is
        enabled -- there's no reason to use different debug information keyed
        off the linker. (If this was for MinGW, we should check for that
        instead.)
      
      Differential Revision: https://reviews.llvm.org/D62111
      
      llvm-svn: 361214
      c6f363f5
  23. May 17, 2019
  24. May 10, 2019
  25. May 08, 2019
  26. May 06, 2019
  27. Apr 27, 2019
  28. Apr 09, 2019
Loading