Skip to content
  1. Mar 19, 2015
  2. Mar 15, 2015
  3. Mar 02, 2015
  4. Feb 14, 2015
    • Chandler Carruth's avatar
      [gold] Consolidate the gold plugin options and actually search for · edd92948
      Chandler Carruth authored
      a gold binary explicitly. Substitute this binary into the tests rather
      than just directly executing the 'ld' binary.
      
      This should allow folks to inject a cross compiling gold binary, or in
      my case to use a gold binary built and installed somewhere other than
      /usr/bin/ld. It should also allow the tests to find 'ld.gold' so that
      things work even if gold isn't the default on the system.
      
      I've only stubbed out support in the makefile to preserve the existing
      behavior with none of the fancy logic. If someone else wants to add
      logic here, they're welcome to do so.
      
      llvm-svn: 229251
      edd92948
    • Chandler Carruth's avatar
      [lit] Make the gold plugin support testing work with a python3 · 8756afc5
      Chandler Carruth authored
      interpreter. Seems that's a better path than pinning to python2.7.
      
      Thanks to Justin for prodding me toward a fix. =]
      
      llvm-svn: 229247
      8756afc5
  5. Feb 04, 2015
    • Owen Anderson's avatar
      Remove a gross usage of environment variables in MachineVerifier, replacing it... · 21b1788a
      Owen Anderson authored
      Remove a gross usage of environment variables in MachineVerifier, replacing it with support for setting the -verify-machineinstrs flag via an environment variable in LIT.
      
      This preserves the handy functionality of force-enabling the MachineVerifier, without the need to embed usage of environment variables in LLVM client applications.
      
      llvm-svn: 228079
      21b1788a
  6. Jan 05, 2015
  7. Dec 17, 2014
  8. Dec 12, 2014
    • Frederic Riss's avatar
      Initial dsymutil tool commit. · 231f714e
      Frederic Riss authored
      The goal of this tool is to replicate Darwin's dsymutil functionality
      based on LLVM. dsymutil is a DWARF linker. Darwin's linker (ld64) does
      not link the debug information, it leaves it in the object files in
      relocatable form, but embbeds a `debug map` into the executable that
      describes where to find the debug information and how to relocate it.
      When releasing/archiving a binary, dsymutil is called to link all the DWARF
      information into a `dsym bundle` that can distributed/stored along with
      the binary.
      
      With this commit, the LLVM based dsymutil is just able to parse the STABS
      debug maps embedded by ld64 in linked binaries (and not all of them, for
      example archives aren't supported yet).
      
      Note that the tool directory is called dsymutil, but the executable is
      currently called llvm-dsymutil. This discrepancy will disappear once the
      tool will be feature complete. At this point the executable will be renamed
      to dsymutil, but until then you do not want it to override the system one.
      
          Differential Revision: http://reviews.llvm.org/D6242
      
      llvm-svn: 224134
      231f714e
  9. Dec 01, 2014
  10. Nov 11, 2014
  11. Nov 04, 2014
  12. Nov 03, 2014
    • Peter Zotov's avatar
      Unbreak build. · aea393be
      Peter Zotov authored
      A bug in lit.cfg was introduced in r221137.
      
      llvm-svn: 221144
      aea393be
    • Peter Zotov's avatar
      [OCaml] Avoid embedding absolute paths into executables. · f21b6c84
      Peter Zotov authored
      Bindings built out-of-tree, e.g. via OPAM, should append
      a line to META.llvm like the following:
      
      linkopts = "-cclib -L$libdir -cclib -Wl,-rpath,$libdir"
      
      where $libdir is the lib/ directory where LLVM libraries are
      installed.
      
      llvm-svn: 221139
      f21b6c84
    • Peter Zotov's avatar
      [OCaml] Run tests twice, with ocamlc and ocamlopt (if available) · 2f4735a1
      Peter Zotov authored
      ocamlc and ocamlopt expose a distinct set of buildsystem bugs, e.g.
      only ocamlc would detect -custom or -dllib-related bugs, and as all
      buildbots will have ocamlopt, these bugs will stay hidden.
      
      This change should add no more than 30 seconds of testing time.
      
      llvm-svn: 221137
      2f4735a1
  13. Oct 30, 2014
    • Peter Zotov's avatar
      lit: PR21417: don't try to update OCAMLPATH if LibDir is empty. · cf8f7a10
      Peter Zotov authored
      llvm-svn: 220919
      cf8f7a10
    • Peter Zotov's avatar
      [OCaml] Enable backtraces in tests. · d6d49fd0
      Peter Zotov authored
      llvm-svn: 220900
      d6d49fd0
    • Peter Zotov's avatar
      [OCaml] [autoconf] Migrate to ocamlfind. · 668f9670
      Peter Zotov authored
      This commit updates the OCaml bindings and tests to use ocamlfind.
      The bindings are migrated in order to use ctypes, which are now
      required for MCJIT-backed Llvm_executionengine.
      The tests are migrated in order to use OUnit and to verify that
      the distributed META.llvm allows to build working executables.
      
      Every OCaml toolchain invocation is now chained through ocamlfind,
      which (in theory) allows to cross-compile the OCaml bindings.
      
      The configure script now checks for ctypes (>= 0.2.3) and
      OUnit (>= 2). The code depending on these libraries will be added
      later. The configure script does not check the package versions
      in order to keep changes less invasive.
      
      Additionally, OCaml bindings will now be automatically enabled
      if ocamlfind is detected on the system, rather than ocamlc, as it
      was before.
      
      llvm-svn: 220899
      668f9670
  14. Oct 28, 2014
    • Peter Zotov's avatar
      [OCaml] PR9719, PR14727: Make tests run without ocamlopt. · dacfc64b
      Peter Zotov authored
      Previously, tests hardcoded ocamlopt and cmxa, which broke builds on
      machines without ocamlopt. Instead, they now fall back to ocamlc.
      
      As a side effect this fixes PR14727, which was caused by a crude hack
      that replaced gcc with g++ everywhere in the ocamlopt native compiler
      path and passes it back using -cc. Now the tests use the same
      technique as META, i.e. -cclib -lstdc++. It might be more fragile
      than using g++ explicitly, but it will break when the installed
      package will also break, which is good.
      
      llvm-svn: 220828
      dacfc64b
  15. Oct 23, 2014
    • Peter Collingbourne's avatar
      Add llvm-go tool. · 244ecf55
      Peter Collingbourne authored
      This tool lets us build LLVM components within the tree by setting up a
      $GOPATH that resembles a tree fetched in the normal way with "go get".
      
      It is intended that components such as the Go frontend will be built in-tree
      using this tool.
      
      Differential Revision: http://reviews.llvm.org/D5902
      
      llvm-svn: 220462
      244ecf55
  16. Oct 17, 2014
  17. Oct 07, 2014
  18. Sep 24, 2014
  19. Sep 17, 2014
  20. Sep 03, 2014
  21. Aug 29, 2014
  22. Aug 08, 2014
  23. Aug 07, 2014
    • Rafael Espindola's avatar
      Nuke the old JIT. · f8b27c41
      Rafael Espindola authored
      I am sure we will be finding bits and pieces of dead code for years to
      come, but this is a good start.
      
      Thanks to Lang Hames for making MCJIT a good replacement!
      
      llvm-svn: 215111
      f8b27c41
  24. Jul 30, 2014
  25. Jul 28, 2014
    • Rafael Espindola's avatar
      Start adding some tests for the gold plugin. · 852bad0a
      Rafael Espindola authored
      These are only used when the 'ld' in the path is gold and the plugin has
      been built, but it is already a start to make sure we don't regress features
      that cannot be tested with llvm-lto.
      
      llvm-svn: 214058
      852bad0a
  26. Jul 25, 2014
    • Duncan P. N. Exon Smith's avatar
      Move -verify-use-list-order into llvm-uselistorder · 4b4d8ecd
      Duncan P. N. Exon Smith authored
      Ugh.  Turns out not even transformation passes link in how to read IR.
      I sincerely believe the buildbots will finally agree with my system
      after this though.  (I don't really understand why all of this has been
      working on my system, but not on all the buildbots.)
      
      Create a new tool called llvm-uselistorder to use for verifying use-list
      order.  For now, just dump everything from the (now defunct)
      -verify-use-list-order pass into the tool.
      
      This might be a better way to test use-list order anyway.
      
      Part of PR5680.
      
      llvm-svn: 213957
      4b4d8ecd
    • David Majnemer's avatar
      Opportunistically fix the builders · ab131e86
      David Majnemer authored
      A builder complained that it couldn't find llvm-vtabledump, this is
      probably because it wasn't a dependency of the 'test' target.
      
      llvm-svn: 213905
      ab131e86
  27. Jul 24, 2014
  28. Jul 11, 2014
  29. Jun 23, 2014
  30. Jun 22, 2014
  31. Jun 10, 2014
  32. May 07, 2014
  33. May 05, 2014
Loading