Skip to content
  1. Oct 01, 2019
    • 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
  2. 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
  3. 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
  4. Aug 30, 2019
    • Puyan Lotfi's avatar
      [llvm-ifs][IFS] llvm Interface Stubs merging + object file generation tool. · d719c506
      Puyan Lotfi authored
      This tool merges interface stub files to produce a merged interface stub file
      or a stub library. Currently it for stub library generation it can produce an
      ELF .so stub file, or a TBD file (experimental). It will be used by the clang
      -emit-interface-stubs compilation pipeline to merge and assemble the per-CU
      stub files into a stub library.
      
      The new IFS format is as follows:
      
      --- !experimental-ifs-v1
      IfsVersion:      1.0
      Triple:          <llvm triple>
      ObjectFileFormat: <ELF | TBD>
      Symbols:
        _ZSymbolName: { Type: <type>, etc... }
      ...
      
      Differential Revision: https://reviews.llvm.org/D66405
      
      llvm-svn: 370499
      d719c506
  5. May 17, 2019
  6. May 14, 2019
  7. May 01, 2019
    • Hubert Tong's avatar
      [tests] Add host-byteorder-*-endian; update XFAILs of big-endian triples · 02d055a2
      Hubert Tong authored
      Summary:
      Triple components in `XFAIL` lines are tested against the target triple.
      Various tests that are expected to fail on big-endian hosts are marked
      as being `XFAIL` for big-endian targets. This patch corrects these tests
      by having them test against a new `host-byteorder-big-endian` feature.
      
      Reviewers: xingxue, sfertile, jasonliu
      
      Reviewed By: xingxue
      
      Subscribers: jvesely, nhaehnle, fedor.sergeev, llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D60551
      
      llvm-svn: 359689
      02d055a2
  8. Apr 20, 2019
  9. Mar 27, 2019
    • Evgeniy Stepanov's avatar
      Fix llvm-rc tests. · 67646d05
      Evgeniy Stepanov authored
      Summary:
      Follow-up for D56743.
      * Add more "--" in llvm-rc invocations.
      * Add llvm-rc to the tools list. This uses full path to llvm-rc in test
        RUN lines (llvm-lit -v), making them copy-pasteable.
      
      Reviewers: mstorsjo, zturner
      
      Subscribers: llvm-commits
      
      Tags: #llvm
      
      Differential Revision: https://reviews.llvm.org/D59858
      
      llvm-svn: 357118
      67646d05
  10. Jan 19, 2019
  11. Jan 18, 2019
    • Nico Weber's avatar
      mac: Correctly disable tools/lto tests when building with LLVM_ENABLE_PIC=OFF · 71ac58e3
      Nico Weber authored
      llvm/tools sets LLVM_TOOL_LTO_BUILD to Off if LLVM_ENABLE_PIC=OFF, but that's
      not visible in llvm/test.
      
      r289662 added the llvm_tool_lto_build lit parameter, there the intent was to
      use it with an explicit -DLLVM_TOOL_LTO_BUILD=OFF, which is visible globally.
      On the review for that (D27739), a mild preference was expressed for using a
      lit parameter over checking the existence of libLTO.dylib. Since that works
      with the LLVM_ENABLE_PIC=OFF case too and since it matches what we do for the
      gold plugin, switch to that approach.
      
      Differential Revision: https://reviews.llvm.org/D56805
      
      llvm-svn: 351515
      71ac58e3
  12. Jan 03, 2019
  13. Dec 12, 2018
  14. Sep 26, 2018
    • Lang Hames's avatar
      Reapply r343058 with a fix for -DLLVM_ENABLE_THREADS=OFF. · f0a3fd88
      Lang Hames authored
      Modifies lit to add a 'thread_support' feature that can be used in lit test
      REQUIRES clauses. The thread_support flag is set if -DLLVM_ENABLE_THREADS=ON
      and unset if -DLLVM_ENABLE_THREADS=OFF. The lit flag is used to disable the
      multiple-compile-threads-basic.ll testcase when threading is disabled.
      
      llvm-svn: 343122
      f0a3fd88
  15. Sep 25, 2018
  16. Aug 09, 2018
  17. Jul 20, 2018
  18. Jun 20, 2018
  19. May 07, 2018
  20. Apr 13, 2018
  21. Apr 03, 2018
  22. Mar 18, 2018
  23. Mar 08, 2018
  24. Jan 08, 2018
  25. Nov 29, 2017
  26. Nov 28, 2017
  27. Nov 27, 2017
  28. Nov 15, 2017
  29. Nov 04, 2017
  30. Nov 03, 2017
    • Jake Ehrlich's avatar
      Add feature to determine if host architecture is 64-bit in llvm-lit · 6fe84be9
      Jake Ehrlich authored
      I have a test that I'd like to add to llvm that demands using more than
      32-bits worth of address space. This test can't be run on 32-bit systems
      because they don't have enough address space. The host triple should be
      used to determine this instead of config.host_arch because on Debian
      systems config.host_arch is not correct. This change adds the
      "host-arch-is-64bit" feature to allow tests to restrict themselves to
      the 64-bit case.
      
      Differential Revision: https://reviews.llvm.org/D39465
      
      llvm-svn: 317281
      6fe84be9
  31. Oct 18, 2017
  32. Oct 06, 2017
    • Zachary Turner's avatar
      [lit] Improve tool substitution in lit. · 96b04b68
      Zachary Turner authored
      This addresses two sources of inconsistency in test configuration
      files.
      
      1. Substitution boundaries.  Previously you would specify a
         substitution, such as 'lli', and then additionally a set
         of characters that should fail to match before and after
         the tool.  This was used, for example, so that matches that
         are parts of full paths would not be replaced.  But not all
         tools did this, and those that did would often re-invent
         the set of characters themselves, leading to inconsistency.
         Now, every tool substitution defaults to using a sane set
         of reasonable defaults and you have to explicitly opt out
         of it.  This actually fixed a few latent bugs that were
         never being surfaced, but only on accident.
      
      2. There was no standard way for the system to decide how to
         locate a tool.  Sometimes you have an explicit path, sometimes
         we would search for it and build up a path ourselves, and
         sometimes we would build up a full command line.  Furthermore,
         there was no standardized way to handle missing tools.  Do we
         warn, fail, ignore, etc?  All of this is now encapsulated in
         the ToolSubst class.  You either specify an exact command to
         run, or an instance of FindTool('<tool-name>') and everything
         else just works.  Furthermore, you can specify an action to
         take if the tool cannot be resolved.
      
      Differential Revision: https://reviews.llvm.org/D38565
      
      llvm-svn: 315085
      96b04b68
    • Zachary Turner's avatar
      Run pyformat on lit code. · c9814480
      Zachary Turner authored
      llvm-svn: 315084
      c9814480
Loading