Skip to content
  1. Aug 08, 2013
  2. Aug 05, 2013
  3. Jul 12, 2013
  4. Jun 26, 2013
  5. Jun 15, 2013
    • Rafael Espindola's avatar
      Remove the LLVM specific archive index. · 668c6428
      Rafael Espindola authored
      Archive files (.a) can have a symbol table indicating which object
      files in them define which symbols. The purpose of this symbol table
      is to speed up linking by allowing the linker the read only the .o
      files it is actually going to use instead of having to parse every
      object's symbol table.
      
      LLVM's archive library currently supports a LLVM specific format for
      such table. It is hard to see any value in that now that llvm-ld is
      gone:
      
      * System linkers don't use it: GNU ar uses the same plugin as the
      linker to create archive files with a regular index. The OS X ar
      creates no symbol table for IL files, I assume the linker just parses
      all IL files.
      
      * It doesn't interact well with archives having both IL and native objects.
      
      * We probably don't want to be responsible for yet another archive
      format variant.
      
      This patch then:
      
      * Removes support for creating and reading such index from lib/Archive.
      * Remove llvm-ranlib, since there is nothing left for it to do.
      
      We should in the future add support for regular indexes to llvm-ar for
      both native and IL objects. When we do that, llvm-ranlib should be
      reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s".
      
      llvm-svn: 184019
      668c6428
  6. Jun 14, 2013
  7. May 06, 2013
    • Tim Northover's avatar
      AArch64: use MCJIT by default and enable related tests. · 7dbbc28f
      Tim Northover authored
      This just enables some testing I'd missed after implementing MCJIT
      support.
      
      llvm-svn: 181215
      7dbbc28f
    • Ulrich Weigand's avatar
      · 80435baa
      Ulrich Weigand authored
      [SystemZ] Set up JIT/MCJIT test cases
      
      This patch adds the necessary configuration bits and #ifdef's to set up
      the JIT/MCJIT test cases for SystemZ.  Like other recent targets, we do
      fully support MCJIT, but do not support the old JIT at all.  Set up the
      lit config files accordingly, and disable old-JIT unit tests.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181207
      80435baa
  8. Apr 23, 2013
  9. Apr 12, 2013
  10. Apr 10, 2013
    • Jyotsna Verma's avatar
      Add object-emission flag for lit tests. This flag is used · 9dea0955
      Jyotsna Verma authored
      to disable following tests for Hexagon that require direct object
      generation support.
      
      DebugInfo/dwarf-public-names.ll
      DebugInfo/dwarf-version.ll
      DebugInfo/member-pointers.ll
      DebugInfo/namespace.ll
      DebugInfo/two-cus-from-same-file.ll
      
      Fixes bug 15616 - http://llvm.org/bugs/show_bug.cgi?id=15616
      
      llvm-svn: 179209
      9dea0955
    • Reid Kleckner's avatar
      [test] Use lit's shell test runner on Windows · d16abb77
      Reid Kleckner authored
      Summary:
      I did a local comparison between using bash and using lit's runner, and
      more of the suite passes with lit than passes with bash.  Most of the
      bash failures have to do with /dev/null, which is nonsensical on
      Windows, but the lit runner handles it.
      
      The lit shell runner is also much faster than bash, so I would expect
      most Windows devs would want it by default.
      
      The behavior can be overridden on any OS by setting
      LIT_USE_INTERNAL_SHELL to 0 or 1 in the environment.
      
      Reviewers: chapuni, ddunbar
      
      CC: llvm-commits, timurrrr
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D559
      
      llvm-svn: 179173
      d16abb77
  11. Apr 04, 2013
  12. Mar 27, 2013
  13. Mar 26, 2013
  14. Mar 15, 2013
  15. Mar 13, 2013
  16. Jan 16, 2013
    • Peter Collingbourne's avatar
      Introduce llvm::sys::getProcessTriple() function. · a51c6ed6
      Peter Collingbourne authored
      In r143502, we renamed getHostTriple() to getDefaultTargetTriple()
      as part of work to allow the user to supply a different default
      target triple at configure time.  This change also affected the JIT.
      However, it is inappropriate to use the default target triple in the
      JIT in most circumstances because this will not necessarily match
      the current architecture used by the process, leading to illegal
      instruction and other such errors at run time.
      
      Introduce the getProcessTriple() function for use in the JIT and
      its clients, and cause the JIT to use it.  On architectures with a
      single bitness, the host and process triples are identical.  On other
      architectures, the host triple represents the architecture of the
      host CPU, while the process triple represents the architecture used
      by the host CPU to interpret machine code within the current process.
      For example, when executing 32-bit code on a 64-bit Linux machine,
      the host triple may be 'x86_64-unknown-linux-gnu', while the process
      triple may be 'i386-unknown-linux-gnu'.
      
      This fixes JIT for the 32-on-64-bit (and vice versa) build on non-Apple
      platforms.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D254
      
      llvm-svn: 172627
      a51c6ed6
  17. Nov 21, 2012
  18. Nov 01, 2012
  19. Oct 30, 2012
  20. Oct 26, 2012
  21. Oct 19, 2012
  22. Oct 18, 2012
  23. Oct 05, 2012
  24. Oct 03, 2012
  25. Oct 02, 2012
  26. Jul 03, 2012
    • NAKAMURA Takumi's avatar
      llvm/test/lit.cfg: Retweak for Win32 to fix testing. · 2a4930c9
      NAKAMURA Takumi authored
        - execute_external should be;
          - Not on Win32.
          - Using bash.
          In reverse, "execute_internal" shoud be (Win32 && !bash).
      
        - lit.getBashPath() behaves differently before and after tweaking $PATH.
      
      I will add a few explanations there later.
      
      llvm-svn: 159641
      2a4930c9
  27. Jul 02, 2012
    • Chandler Carruth's avatar
      Convert all tests using TCL-style quoting to use shell-style quoting. · a5a29f97
      Chandler Carruth authored
      This was done through the aid of a terrible Perl creation. I will not
      paste any of the horrors here. Suffice to say, it require multiple
      staged rounds of replacements, state carried between, and a few
      nested-construct-parsing hacks that I'm not proud of. It happens, by
      luck, to be able to deal with all the TCL-quoting patterns in evidence
      in the LLVM test suite.
      
      If anyone is maintaining large out-of-tree test trees, feel free to poke
      me and I'll send you the steps I used to convert things, as well as
      answer any painful questions etc. IRC works best for this type of thing
      I find.
      
      Once converted, switch the LLVM lit config to use ShTests the same as
      Clang. In addition to being able to delete large amounts of Python code
      from 'lit', this will also simplify the entire test suite and some of
      lit's architecture.
      
      Finally, the test suite runs 33% faster on Linux now. ;]
      For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s
      
      llvm-svn: 159525
      a5a29f97
    • Chandler Carruth's avatar
      Switch a bunch of Linker tests from using elaborate echo productions to · 8bdfe1ec
      Chandler Carruth authored
      just provide and reference separate input files from an Inputs
      subdirectory. This pattern works very well in the Clang tree and is
      easier to understand in my opinion. It also has fewer limitations and
      will remove one particularly annoying use of TCL-style {} quoting from
      the testsuite.
      
      Also teach the LLVM lit configuration to avoid recursing into 'Inputs'
      subdirectories. This wasn't required for the previous 'Inputs'
      subdirectories used due to fortuitous suffix patterns.
      
      This is the first step to completely removing support for TCL-style tests.
      
      llvm-svn: 159520
      8bdfe1ec
  28. Jun 28, 2012
    • Chandler Carruth's avatar
      Remove 'site.exp' building from both CMake and configure+make. · bf2b400f
      Chandler Carruth authored
      This is another vestige of the DejaGNU roots. There were FIXMEs in the
      lit setup to add a 'lit.site.cfg', which has been around for quite some
      time now, so I've properly switched the handling of the 4 things
      actually used in site.exp to go through lit.site.cfg now. No more
      parsing of the .exp file, one fewer configure-style generated file,
      etc., etc.
      
      llvm-svn: 159313
      bf2b400f
  29. Apr 19, 2012
    • Michael J. Spencer's avatar
      Remove llvm-ld and llvm-stub (which is only used by llvm-ld). · 9125493e
      Michael J. Spencer authored
      llvm-ld is no longer useful and causes confusion and so it is being removed.
      
      * Does not work very well on Windows because it must call a gcc like driver to
        assemble and link.
      * Has lots of hard coded paths which are wrong on many systems.
      * Does not understand most of ld's options.
      * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} |
        ld, or fully replaced by Clang.
      
      I know of no production use of llvm-ld, and hacking use should be
      replaced by Clang's driver.
      
      llvm-svn: 155147
      9125493e
  30. Apr 13, 2012
  31. Mar 25, 2012
    • Eli Bendersky's avatar
      Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu · f3308605
      Eli Bendersky authored
      * Removed test/lib/llvm.exp - it is no longer needed 
      * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files
        left in the test suite so this code is no longer required. test/lit.cfg is
        now much shorter and clearer 
      * Removed a lot of duplicate code in lit.local.cfg files that need access to
        the root configuration, by adding a "root" attribute to the TestingConfig
        object. This attribute is dynamically computed to provide the same
        information as was previously provided by the custom getRoot functions. 
      * Documented the config.root attribute in docs/CommandGuide/lit.pod
      
      llvm-svn: 153408
      f3308605
  32. Feb 16, 2012
  33. Jan 16, 2012
  34. Nov 28, 2011
  35. Nov 05, 2011
Loading