summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
Commit message (Collapse)AuthorAgeFilesLines
...
* Corrections for XFAIL armv5 testsRenato Golin2013-02-286-6/+5
| | | | | | | | | Most of the tests that behave differently on llvm-arm-linux buildbot did so becase the triple wasn't set correctly to armv5, so we can revert most of the special behaviour added previously. Some tests still need the special treatment, though. llvm-svn: 176243
* Proper XFAILs for ARMv7 / v5Renato Golin2013-02-267-6/+7
| | | | llvm-svn: 176095
* AArch64: adjust tests which rely on a default JITTim Northover2013-02-181-1/+1
| | | | | | | | | | | | | Profiling tests *do* need a JIT. They'll pass if a cross-compiler targetting AArch64 by default has been built, but fail if a native AArch64 compiler has been build. Therefore XFAIL is inappropriate and we mark them unsupported. ExecutionEngine tests are JIT by definition, they should also be unsupported. Transforms/LICM only uses the interpreter to check the output is still sane after optimisation. It can be switched to use an interpreter. llvm-svn: 175433
* Introduce llvm::sys::getProcessTriple() function.Peter Collingbourne2013-01-1659-59/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* llvm/test/ExecutionEngine/MCJIT/lit.local.cfg: ppc32-elf is not ready.NAKAMURA Takumi2012-11-201-0/+3
| | | | llvm-svn: 168364
* Marking remote mcjit tests as XFAIL for MIPS.Simon Atanasyan2012-11-207-7/+7
| | | | llvm-svn: 168357
* Enable MCJIT tests on PowerPC.Ulrich Weigand2012-11-192-2/+14
| | | | | | Disable old JIT tests on PowerPC. llvm-svn: 168316
* MCJIT: [cygming] Give noop to __main also in RecordingMemoryManger. It is ↵NAKAMURA Takumi2012-11-187-7/+7
| | | | | | | | emitted in @main(). XFAIL(s) can be removed. llvm-svn: 168282
* test/ExecutionEngine/MCJIT/stubs-remote.ll: Prune DOSish CRLF.NAKAMURA Takumi2012-11-181-36/+36
| | | | llvm-svn: 168281
* Marking remote mcjit tests as XFAIL for cygwin (hopefully only temporarily).Andrew Kaylor2012-11-172-2/+2
| | | | llvm-svn: 168226
* Marking remote mcjit tests as XFAIL for mingw32 (hopefully only temporarily).Andrew Kaylor2012-11-167-7/+7
| | | | llvm-svn: 168221
* Marking remote mcjit tests as XFAIL for ARM (hopefully only temporarily).Andrew Kaylor2012-11-167-0/+7
| | | | llvm-svn: 168210
* Adding new tests to test lli's pseudo-remote feature (-remote-mcjit).Andrew Kaylor2012-11-167-0/+220
| | | | llvm-svn: 168180
* Add MCJIT test case for running global constructors.Amara Emerson2012-11-161-0/+21
| | | | llvm-svn: 168149
* Align the data section correctly when loading an ELF file.Tim Northover2012-10-291-0/+15
| | | | | | Patch by Amara Emerson. llvm-svn: 166920
* Make use of common-symbol alignment info in ELF loader.Tim Northover2012-10-291-0/+32
| | | | | | Patch by Amara Emerson. llvm-svn: 166919
* Some regression tests which are testing the old jit and are exercising ↵James Molloy2012-10-083-0/+3
| | | | | | | | functionality which is both known to be broken and not expected to be fixed in the old jit. To remove these from the regression test output, I've marked them XFAIL (for lit tests) and ifdef'd them out (unit tests). These modifications remove the last long-standing regression test failures from the buildbots (though updating the triple to reflect new ubuntu configuration has temporarily caused some new failures). Tested on x86-64 and ARM Linux. Patch by David Tweed! llvm-svn: 165390
* Enable llvm/test/ExecutionEngine/MCJIT also for cygwin.NAKAMURA Takumi2012-10-051-1/+1
| | | | llvm-svn: 165313
* Implement .rel relocation for R_ARM_ABS32 in MCJIT.Tim Northover2012-10-031-0/+16
| | | | | | Patch by Amara Emerson. llvm-svn: 165128
* test/ExecutionEngine/MCJIT: MCJIT should work also on mingw.NAKAMURA Takumi2012-10-031-1/+1
| | | | | FIXME: Also cygwin? llvm-svn: 165081
* Support for generating ELF objects on Windows.Andrew Kaylor2012-10-0249-49/+49
| | | | | | 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
* Revert "Enable MCJIT tests on Darwin."Jim Grosbach2012-09-061-1/+1
| | | | | | | | This reverts commit 163278. Works OK on x86_64, but not i386. Will re-enable when that's cleared up. llvm-svn: 163290
* Enable MCJIT tests on Darwin.Jim Grosbach2012-09-061-1/+1
| | | | llvm-svn: 163278
* Should put test case under test/ExecutionEngine/MCJIT/Michael Liao2012-08-301-0/+88
| | | | llvm-svn: 162885
* Add Mips to the list of target architectures for the MCJIT tests.Akira Hatanaka2012-06-211-2/+2
| | | | | | Patch by Reed Kotler. llvm-svn: 158933
* Temporarily disabled the MCJIT tests for Darwin, because the ↵Danil Malyshev2012-05-181-1/+1
| | | | | | RuntimeDyldMachO has a problems with relocations for 32bit x86. llvm-svn: 157035
* - Added ExecutionEngine/MCJIT testsDanil Malyshev2012-05-1748-0/+1230
| | | | | | | - Added HOST_ARCH to Makefile.config.in The HOST_ARCH will be used by MCJIT tests filter, because MCJIT supported only x86 and ARM architectures now. llvm-svn: 157015
* This patch improves the MCJIT runtime dynamic loader by adding new handlingPreston Gurd2012-04-1218-18/+0
| | | | | | | | | | of zero-initialized sections, virtual sections and common symbols and preventing the loading of sections which are not required for execution such as debug information. Patch by Andy Kaylor! llvm-svn: 154610
* Revert r153694. It was causing failures in the buildbots.Bill Wendling2012-03-2945-1070/+0
| | | | llvm-svn: 153701
* Re-factored RuntimeDyld.Danil Malyshev2012-03-2945-0/+1070
| | | | | | Added ExecutionEngine/MCJIT tests. llvm-svn: 153694
* Revert a series of commits to MCJIT to get the build working in CMakeChandler Carruth2012-03-2245-1070/+0
| | | | | | | | | | | | | | | (and hopefully on Windows). The bots have been down most of the day because of this, and it's not clear to me what all will be required to fix it. The commits started with r153205, then r153207, r153208, and r153221. The first commit seems to be the real culprit, but I couldn't revert a smaller number of patches. When resubmitting, r153207 and r153208 should be folded into r153205, they were simple build fixes. llvm-svn: 153241
* Re-factored RuntimeDyld.Danil Malyshev2012-03-2145-0/+1070
| | | | | | Added ExecutionEngine/MCJIT tests. llvm-svn: 153221
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ↵Eli Bendersky2012-02-162-3/+1
| | | | | | | | 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
* Remove "XFAIL: arm" from test/ExecutionEngine/test-return.llEli Bendersky2012-01-171-1/+0
| | | | | | The test passes on ARM bots llvm-svn: 148315
* Additional ExecutionEngine tests, as part of bringing up the MCJIT on ELFEli Bendersky2012-01-177-0/+244
| | | | | | | | | implementation. Currently lit still executes ExecutionEngine tests with JIT (not MCJIT) by default. MCJIT tests can be executed manually by calling llvm-lit with --param jit_impl=mcjit llvm-svn: 148299
* Adding a basic ELF dynamic loader and MC-JIT for ELF. Functionality is ↵Eli Bendersky2012-01-1640-40/+53
| | | | | | | | currently basic and will be enhanced with future patches. Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits. llvm-svn: 148231
* Excluding ARM JIT tests until someone can fix this compilation path.Andrew Trick2011-08-2614-0/+14
| | | | llvm-svn: 138676
* manually upgrade a bunch of tests to modern syntax, and remove some thatChris Lattner2011-06-171-13/+0
| | | | | | are either unreduced or only test old syntax. llvm-svn: 133228
* Reverted r132135 per Xerxes request. These tests are passing for his setup. ↵Galina Kistanova2011-05-3115-31/+0
| | | | | | Requires more research. llvm-svn: 132364
* Make few ExecutionEngine tests XFAIL for ARM, since ExecutionEngine is ↵Galina Kistanova2011-05-2615-0/+31
| | | | | | broken for ARM, please remove the following XFAIL when it will be fixed. llvm-svn: 132135
* XFAIL for now. If someone with access to an ARM/Linux host wants to have a lookJim Grosbach2010-12-022-0/+2
| | | | | | that would be great. They're ARM JIT failures, so without that, it's tough. llvm-svn: 120731
* lli: Switch to using ParseIRFile, for consistency with other LLVM tools.Daniel Dunbar2010-11-1341-78/+42
| | | | | | - Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters. llvm-svn: 118952
* Jim's recent fixes 118600, 118587, 118513 have made these work.Dale Johannesen2010-11-092-2/+0
| | | | llvm-svn: 118652
* The ARM jit cannot handle these tests as of 2010-10-27.Andrew Trick2010-10-292-0/+2
| | | | | | (A PR will be linked to this rev.) llvm-svn: 117620
* Revert r101455, which fails on the llvm-arm-linux buildbot.Dan Gohman2010-04-161-41/+0
| | | | llvm-svn: 101515
* Add JIT exception handling test.Bill Wendling2010-04-161-0/+41
| | | | llvm-svn: 101455
* Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,Dan Gohman2010-03-021-2/+2
| | | | | | respectively. llvm-svn: 97531
* Test case for http://llvm.org/PR6028.Jay Foad2010-01-151-0/+9
| | | | llvm-svn: 93511
* Remove test. Execution tests are slow and generally not worth it.Nick Lewycky2009-11-081-19/+0
| | | | llvm-svn: 86434
* Fix run line.Nick Lewycky2009-11-081-1/+1
| | | | llvm-svn: 86429
OpenPOWER on IntegriCloud