- Aug 08, 2013
-
-
Daniel Dunbar authored
llvm-svn: 187929
-
- Aug 05, 2013
-
-
Bob Wilson authored
Note that this will require a recent version of the linker for Darwin builds with LTO to pass these tests. llvm-svn: 187711
-
- Jul 12, 2013
-
-
David Dean authored
llvm-svn: 186134
-
- Jun 26, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 184932
-
- Jun 15, 2013
-
-
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
-
- Jun 14, 2013
-
-
Eli Bendersky authored
(-llc), similarly to the way it was done for clang and llvmc. This doesn't affect the upstream llvm tests but helps when developing custom LLVM-based tools and testing them within the LLVM regression framework. llvm-svn: 183994
-
- May 06, 2013
-
-
Tim Northover authored
This just enables some testing I'd missed after implementing MCJIT support. llvm-svn: 181215
-
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
-
- Apr 23, 2013
-
-
Alexey Samsonov authored
This makes llvm-dwarfdump and llvm-symbolizer understand debug info sections compressed by ld.gold linker. llvm-svn: 180088
-
- Apr 12, 2013
-
-
Nico Rieck authored
llvm-svn: 179362
-
- Apr 10, 2013
-
-
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
-
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
-
- Apr 04, 2013
-
-
Alexey Samsonov authored
llvm-svn: 178749
-
- Mar 27, 2013
-
-
Evgeniy Stepanov authored
It was using an instrumented symbolizer binary, which is a potential fork bomb. llvm-svn: 178139
-
- Mar 26, 2013
-
-
Alexey Samsonov authored
llvm-svn: 177994
-
- Mar 15, 2013
-
-
Alexey Samsonov authored
llvm-svn: 177144
-
- Mar 13, 2013
-
-
Evgeniy Stepanov authored
This is needed to get symbolized stack traces when running LLVM tests under (A|M)San. llvm-svn: 176933
-
- Jan 16, 2013
-
-
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
-
- Nov 21, 2012
-
-
Andrew Kaylor authored
llvm-svn: 168459
-
- Nov 01, 2012
-
-
NAKAMURA Takumi authored
Unsupported CPU type! UNREACHABLE executed at llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:553! llvm-svn: 167231
-
- Oct 30, 2012
-
-
Ulrich Weigand authored
Update Transforms/LICM/2003-12-11-SinkingToPHI.ll test to use %defaultjit as well. llvm-svn: 167031
-
- Oct 26, 2012
-
-
Rafael Espindola authored
a cmake and an autoconf build. llvm-svn: 166748
-
- Oct 19, 2012
-
-
Daniel Dunbar authored
- Also, lit is going to get a valgrind feature, instead. llvm-svn: 166302
-
- Oct 18, 2012
-
-
Daniel Dunbar authored
llvm-svn: 166225
-
Sebastian Pop authored
Author: Quentin Neill <qneill@codeaurora.org> llvm-svn: 166217
-
- Oct 05, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 165313
-
- Oct 03, 2012
-
-
NAKAMURA Takumi authored
FIXME: Also cygwin? llvm-svn: 165081
-
- Oct 02, 2012
-
-
Andrew Kaylor authored
This adds 'elf' as a recognized target triple environment value and overrides the default generated object format on Windows platforms if that value is present. This patch also enables MCJIT tests on Windows using the new environment value. llvm-svn: 165030
-
James Molloy authored
Patch by David Tweed! llvm-svn: 164996
-
- Jul 03, 2012
-
-
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
-
- Jul 02, 2012
-
-
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
-
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
-
- Jun 28, 2012
-
-
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
-
- Apr 19, 2012
-
-
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
-
- Apr 13, 2012
-
-
Sylvestre Ledru authored
For example, if llc cannot be found, the full python stacktrace is displayed and no interesting information are provided. + fail the process when an exception occurs llvm-svn: 154665
-
- Mar 25, 2012
-
-
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
-
- Feb 16, 2012
-
-
Eli Bendersky authored
Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed. Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
-
- Jan 16, 2012
-
-
Eli Bendersky authored
Adding a basic ELF dynamic loader and MC-JIT for ELF. Functionality is currently basic and will be enhanced with future patches. Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits. llvm-svn: 148231
-
- Nov 28, 2011
-
-
NAKAMURA Takumi authored
llc knows whether he is compiled with -DNDEBUG. | Optimized build with assertions. llvm-svn: 145230
-
- Nov 05, 2011
-
-
Benjamin Kramer authored
llvm-svn: 143815
-