Skip to content
  1. Nov 11, 2019
  2. Nov 08, 2019
  3. Oct 25, 2019
  4. Oct 04, 2019
  5. Oct 02, 2019
    • Djordje Todorovic's avatar
      Reland "[utils] Implement the llvm-locstats tool" · 2ef18fb4
      Djordje Todorovic authored
      The tool reports verbose output for the DWARF debug location coverage.
      The llvm-locstats for each variable or formal parameter DIE computes what
      percentage from the code section bytes, where it is in scope, it has
      location description. The line 0 shows the number (and the percentage) of
      DIEs with no location information, but the line 100 shows the number (and
      the percentage) of DIEs where there is location information in all code
      section bytes (where the variable or parameter is in the scope). The line
      50..59 shows the number (and the percentage) of DIEs where the location
      information is in between 50 and 59 percentage of its scope covered.
      
      Differential Revision: https://reviews.llvm.org/D66526
      
      The cause of the test failure was resolved.
      
      llvm-svn: 373427
      2ef18fb4
  6. Oct 01, 2019
    • Djordje Todorovic's avatar
      Revert "Reland "[utils] Implement the llvm-locstats tool"" · 372048e9
      Djordje Todorovic authored
      This reverts commit rL373317 due to test failure on the
      clang-s390x-linux build bot.
      
      llvm-svn: 373336
      372048e9
    • Djordje Todorovic's avatar
      Reland "[utils] Implement the llvm-locstats tool" · 6d7f7e67
      Djordje Todorovic authored
      The tool reports verbose output for the DWARF debug location coverage.
      The llvm-locstats for each variable or formal parameter DIE computes what
      percentage from the code section bytes, where it is in scope, it has
      location description. The line 0 shows the number (and the percentage) of
      DIEs with no location information, but the line 100 shows the number (and
      the percentage) of DIEs where there is location information in all code
      section bytes (where the variable or parameter is in the scope). The line
      50..59 shows the number (and the percentage) of DIEs where the location
      information is in between 50 and 59 percentage of its scope covered.
      
      Differential Revision: https://reviews.llvm.org/D66526
      
      llvm-svn: 373317
      6d7f7e67
  7. Sep 30, 2019
    • Djordje Todorovic's avatar
      Revert "Reland "[utils] Implement the llvm-locstats tool"" · 8180f3b1
      Djordje Todorovic authored
      This reverts commit rL373183.
      
      llvm-svn: 373200
      8180f3b1
    • Djordje Todorovic's avatar
      Reland "[utils] Implement the llvm-locstats tool" · 0f309606
      Djordje Todorovic authored
      The tool reports verbose output for the DWARF debug location coverage.
      The llvm-locstats for each variable or formal parameter DIE computes what
      percentage from the code section bytes, where it is in scope, it has
      location description. The line 0 shows the number (and the percentage) of
      DIEs with no location information, but the line 100 shows the number (and
      the percentage) of DIEs where there is location information in all code
      section bytes (where the variable or parameter is in the scope). The line
      50..59 shows the number (and the percentage) of DIEs where the location
      information is in between 50 and 59 percentage of its scope covered.
      
      Differential Revision: https://reviews.llvm.org/D66526
      
      llvm-svn: 373183
      0f309606
  8. Sep 23, 2019
    • Djordje Todorovic's avatar
      Revert "Reland "[utils] Implement the llvm-locstats tool"" · ead96d73
      Djordje Todorovic authored
      This reverts commit rL372554.
      
      llvm-svn: 372580
      ead96d73
    • Djordje Todorovic's avatar
      Reland "[utils] Implement the llvm-locstats tool" · 0e490ae0
      Djordje Todorovic authored
      The tool reports verbose output for the DWARF debug location coverage.
      The llvm-locstats for each variable or formal parameter DIE computes what
      percentage from the code section bytes, where it is in scope, it has
      location description. The line 0 shows the number (and the percentage) of
      DIEs with no location information, but the line 100 shows the number (and
      the percentage) of DIEs where there is location information in all code
      section bytes (where the variable or parameter is in the scope). The line
      50..59 shows the number (and the percentage) of DIEs where the location
      information is in between 50 and 59 percentage of its scope covered.
      
      Differential Revision: https://reviews.llvm.org/D66526
      
      llvm-svn: 372554
      0e490ae0
  9. Sep 18, 2019
  10. Sep 10, 2019
    • Djordje Todorovic's avatar
      Revert "[utils] Implement the llvm-locstats tool" · b21cc626
      Djordje Todorovic authored
      This reverts commit rL371520.
      
      llvm-svn: 371527
      b21cc626
    • Djordje Todorovic's avatar
      [utils] Implement the llvm-locstats tool · 54008972
      Djordje Todorovic authored
      The tool reports verbose output for the DWARF debug location coverage.
      The llvm-locstats for each variable or formal parameter DIE computes what
      percentage from the code section bytes, where it is in scope, it has
      location description. The line 0 shows the number (and the percentage) of
      DIEs with no location information, but the line 100 shows the number (and
      the percentage) of DIEs where there is location information in all code
      section bytes (where the variable or parameter is in the scope). The line
      50..59 shows the number (and the percentage) of DIEs where the location
      information is in between 50 and 59 percentage of its scope covered.
      
      The tool will be very useful for tracking improvements regarding the
      "debugging optimized code" support with LLVM ecosystem.
      
      Differential Revision: https://reviews.llvm.org/D66526
      
      llvm-svn: 371520
      54008972
  11. Aug 27, 2019
  12. Aug 21, 2019
    • Chris Bieneman's avatar
      Autogenerate the shebang lines for tools/opt-viewer · 8d183848
      Chris Bieneman authored
      Summary:
      Since these files depend on the built python modules, they need to use
      the right python binary to run them. So use configure_file
      to set the right shebang line.
      
      Patch By: cbiesinger (Christian Biesinger)
      
      Reviewers: chandlerc, beanz, anemet
      
      Reviewed By: anemet
      
      Subscribers: compnerd, JDevlieghere, mgorny, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D65983
      
      llvm-svn: 369486
      8d183848
  13. Aug 14, 2019
    • Erich Keane's avatar
      Add support in CMake to statically link the C++ standard library. · 0e85f18d
      Erich Keane authored
      It is sometimes useful to have the C++ standard library linked into the
      assembly when compiling clang, particularly when distributing a compiler
      onto systems that don't have a copy of stdlibc++ or libc++ installed.
      
      This functionality should work with either GCC or Clang as the host
      compiler, though statically linking libc++ (as may be required for
      licensing purposes) is only possible if the host compiler is Clang with
      a copy of libc++ available.
      
      Differential Revision: https://reviews.llvm.org/D65603
      
      llvm-svn: 368907
      0e85f18d
  14. Aug 09, 2019
  15. Jul 31, 2019
  16. Jul 30, 2019
  17. Jul 26, 2019
  18. Jul 19, 2019
    • Nathan Lanza's avatar
      [cmake] Convert the NATIVE llvm build process to be project agnostic · c9477949
      Nathan Lanza authored
      lldb recently added a tablegen tool. In order to properly cross compile
      lldb standalone there needs to be a mechanism to generate the native
      lldb build, analgous to what's done for the NATIVE llvm build. Thus,
      we can simply modify this setup to allow for any project to be used.
      
      llvm-svn: 366514
      c9477949
  19. Jul 18, 2019
    • Jonas Devlieghere's avatar
      [CMake] Don't set Python_ADDITIONAL_VERSIONS · a5359b1b
      Jonas Devlieghere authored
      Until recently, Python_ADDITIONAL_VERSIONS was used to limit LLVM's
      Python support to 2.7. Now that both LLVM and LLDB both support Python
      3, there's no longer a need to put an arbitrary limit on this.
      
      However, instead of removing the variable, r365692 expanded the list,
      which has the (presumably unintentional) side-effect of expression
      preference for Python 3.
      
      Instead, as Michal proposed in the original code review, we should just
      not set the list at all, and let CMake pick whatever Python interpreter
      you have in your path.
      
      This patch removes the Python_ADDITIONAL_VERSIONS variable in llvm,
      clang and lld. I've also updated the docs with the default behavior and
      how to force a different Python version to be used.
      
      Differential revision: https://reviews.llvm.org/D64894
      
      llvm-svn: 366447
      a5359b1b
    • Hans Wennborg's avatar
      Bump the trunk version to 10.0.0svn · 8f5b44ae
      Hans Wennborg authored
      and clear the release notes.
      
      llvm-svn: 366427
      8f5b44ae
    • Alex Bradbury's avatar
      [RISCV] Re-land r366331 d RISCV to LLVM_ALL_TARGETS · 4e8d07fd
      Alex Bradbury authored
      *San flagged issues should be now be addressed.
      
      llvm-svn: 366399
      4e8d07fd
  20. Jul 17, 2019
  21. Jul 10, 2019
  22. Jul 08, 2019
    • Chris Bieneman's avatar
      Fix issues building libraries as more than one type with Xcode · 7023bdc4
      Chris Bieneman authored
      Summary:
      CMake+Xcode doesn't seem to handle targets that only have object
      sources. This patch works around that limitation by adding a dummy
      soruce file to any library target that is generated by llvm_add_library
      when object libraries are generated.
      
      Object libraries are generated whenever llvm_add_library is passed more
      than one library type, which is now the default case for clang static
      libraries (which generate STATIC and OBJECT libraries).
      
      Reviewers: zturner, compnerd, joanlluch
      
      Reviewed By: joanlluch
      
      Subscribers: joanlluch, xbolva00, mgorny, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D64300
      
      llvm-svn: 365365
      7023bdc4
  23. Jun 14, 2019
    • Saleem Abdulrasool's avatar
      build: extract LLVM distribution target handling · 2b9f6caa
      Saleem Abdulrasool authored
      This extracts the LLVM distribution target handling into a support module.
      Extraction will enable us to restructure the builds to support multiple
      distribution configurations (e.g. developer and user) to permit us to build the
      development package and the user package at once.
      
      llvm-svn: 363440
      2b9f6caa
  24. Jun 07, 2019
    • David Tenty's avatar
      Build with _XOPEN_SOURCE defined on AIX · a8d13df4
      David Tenty authored
      Summary:
      It is useful to build with _XOPEN_SOURCE defined on AIX, enabling X/Open
      and POSIX compatibility mode, to work around stray macros and other
      bugs in the headers provided by the system and build compiler.
      
      This patch adds the config to cmake to build with _XOPEN_SOURCE defined
      on AIX with a few exceptions. Google Test internals require access to
      platform specific thread info constructs on AIX so in that case we build
      with _ALL_SOURCE defined instead. Libclang also uses header which needs
      _ALL_SOURCE on AIX so we leave that as is as well.
      
      We also add building on AIX with the large file API and doing CMake
      header checks with X/OPEN definitions so the results are consistent with
      the environment that will be present in the build.
      
      Reviewers: hubert.reinterpretcast, xingxue, andusy
      
      Reviewed By: hubert.reinterpretcast
      
      Subscribers: mgorny, jsji, cfe-commits, llvm-commits
      
      Tags: #llvm, #clang
      
      Differential Revision: https://reviews.llvm.org/D62533
      
      llvm-svn: 362808
      a8d13df4
  25. Jun 04, 2019
  26. Jun 03, 2019
  27. 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
    • Petr Hosek's avatar
      [CMake] Use libtool for runtimes when building for Apple platform · 84254dd8
      Petr Hosek authored
      LLVM CMake build already uses libtool instead of ar when building
      for Apple platform and we should be using the same when building
      runtimes. To do so, this change extracts the logic for finding
      libtool into a separate file and then uses it from both the LLVM
      build as well as the LLVM runtimes build.
      
      Differential Revision: https://reviews.llvm.org/D62769
      
      llvm-svn: 362313
      84254dd8
  28. May 28, 2019
Loading