summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/MCJIT
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert 199262 - MCJIT remote still failing on ARMRenato Golin2014-01-151-2/+2
| | | | | | | | Disabling remote MCJIT tests on ARM again, as they're still failing when self-hosting on ARM, despite all my tests. At least now we have more info on what message it's breaking and what is going on. Investigating. llvm-svn: 199310
* Re-disable MCJIT remote tests on ARMRenato Golin2014-01-151-0/+5
| | | | llvm-svn: 199309
* Re-enable remote MCJIT tests on ARMv7Renato Golin2014-01-141-5/+0
| | | | llvm-svn: 199262
* llvm/test/ExecutionEngine/MCJIT/load-object-a.ll: Put together rm(1) and ↵NAKAMURA Takumi2014-01-131-7/+2
| | | | | | mkdir(1) at the top. llvm-svn: 199077
* llvm/test/ExecutionEngine/MCJIT/load-object-a.ll: Remove "REQUIRES:shell". ↵NAKAMURA Takumi2014-01-101-2/+0
| | | | | | This doesn't depend on shell's behavior. llvm-svn: 198931
* llvm/test/ExecutionEngine/MCJIT/lit.local.cfg: Add "AMD64" in the host_arch ↵NAKAMURA Takumi2014-01-101-1/+1
| | | | | | | list. FIXME: We should not take CMake's ${CMAKE_SYSTEM_PROCESSOR}... llvm-svn: 198930
* llvm/test/ExecutionEngine/MCJIT/load-object-a.ll: Fix not to use %t.cachedir/%p.NAKAMURA Takumi2014-01-101-4/+13
| | | | | | %p is like X:\foo\bar. llvm-svn: 198926
* Add an "-object-cache-dir=<string>" option to LLI. This option specifies theLang Hames2014-01-091-11/+6
| | | | | | | | | | | root path to which object files managed by the LLIObjectCache instance should be written. This option defaults to "", in which case objects are cached in the same directory as the bitcode they are derived from. The load-object-a.ll test has been rewritten to use this option to support testing in environments where the test directory is not writable. llvm-svn: 198852
* Add missing test case for r198737.Lang Hames2014-01-081-0/+27
| | | | llvm-svn: 198772
* Remove empty MCJIT/load-object-a.ll since r196641.NAKAMURA Takumi2013-12-071-0/+0
| | | | llvm-svn: 196645
* Revert r196639 while I investigate a bot failure.Lang Hames2013-12-071-28/+0
| | | | llvm-svn: 196641
* Add support for archives and object file caching under MCJIT.Lang Hames2013-12-071-0/+28
| | | | | | Patch by Andy Kaylor, with minor edits to resolve merge conflicts. llvm-svn: 196639
* Fix lit config for disabled MCJIT tests on ARMRenato Golin2013-12-031-1/+7
| | | | | | | Separating permanent from temporary targets, added the bug that will fix the temporary (PR18057). llvm-svn: 196274
* Disable Remote MCJIT tests on ARMRenato Golin2013-12-031-2/+1
| | | | | | | | | | The communication protocol is unstable on ARM when compiled with Clang, which is disrupting the self-hosting buildbots that are going to be added this week. I'm working on a solution, but remote MCJIT is not high-priority for ARM at the moment, so it might take a while. llvm-svn: 196257
* [mips] Resolve relocation for the stubs in MCJIT when load address is knownPetar Jovanovic2013-11-197-14/+0
| | | | | | | | | | Instead of processing relocation for branch to stubs right away, emit a modified relocation and add it to queue to be resolved later when final load address is known. This resolves seven MIPS MCJIT issues that were caused by missing relocation fixups at the end. llvm-svn: 195157
* Add XFAIL:arm again on 4 MCJIT tests, since r194558. AArch64 has been left ↵NAKAMURA Takumi2013-11-134-4/+4
| | | | | | | | | | removed. They are failing on clang-native-arm-cortex-a9. Please tweak MCJIT/lit.local.cfg, if this didn't satisfy bots. llvm-svn: 194561
* Remove XFAIL:aarch64,arm from 4 tests in test/ExecutionEngine/MCJIT.NAKAMURA Takumi2013-11-134-4/+4
| | | | | | They are reported as XPASSing. llvm-svn: 194558
* [mips] XFAIL several MCJIT remote testsPetar Jovanovic2013-10-314-0/+8
| | | | | | | | Two of the tests are new test cases (cross-module-a.ll, multi-module-a.ll) not yet supported on MIPS, while XFAIL for the other two tests was accidentally removed in r193570 and this change reverts those lines. llvm-svn: 193781
* Adding a workaround for __main linking with remote lli and Cygwin/MinGWAndrew Kaylor2013-10-298-21/+3
| | | | llvm-svn: 193570
* Renaming MCJIT .ir files to .ll and moving them to InputsAndrew Kaylor2013-10-2816-9/+9
| | | | llvm-svn: 193562
* Standardizing lli's extra module command line optionAndrew Kaylor2013-10-289-9/+9
| | | | llvm-svn: 193544
* MCJIT-remote: __main should be resolved in child context.NAKAMURA Takumi2013-10-278-5/+24
| | | | | | | | | | | | | | | - Mark tests as XFAIL:cygming in test/ExecutionEngine/MCJIT/remote. Rather to suppress them, I'd like to leave them running as XFAIL. - Revert r193472. RecordMemoryManager no longer resolves __main on cygming. There are a couple of issues. - X86 Codegen emits "call __main" in @main for targeting cygming. It is useless in JIT. FYI, tests are passing when emitting __main is disabled. - Current remote JIT does not resolve any symbols in child context. FIXME: __main should be disabled, or remote JIT should resolve __main. llvm-svn: 193498
* Fix typo in test's XFAIL line. Patch by Dimitry Andric!Nick Lewycky2013-10-211-1/+1
| | | | llvm-svn: 193063
* Fixing problems in lli's RemoteMemoryManager.Andrew Kaylor2013-10-112-2/+4
| | | | | | | | This fixes a problem from a previous check-in where a return value was omitted. Previously the remote/stubs-remote.ll and remote/stubs-sm-pic.ll tests were reporting passes, but they should have been failing. Those tests attempt to link against an external symbol and remote symbol resolution is not supported. The old RemoteMemoryManager implementation resulted in local symbols being used for resolution and the child process crashed but the test didn't notice. With this check-in remote symbol resolution fails, and so the test (correctly) fails. llvm-svn: 192514
* Adding multiple object support to MCJIT EH frame handlingAndrew Kaylor2013-10-112-0/+65
| | | | llvm-svn: 192504
* Updating XFAILs for recent GOT testsAndrew Kaylor2013-10-054-0/+4
| | | | llvm-svn: 192022
* Adding tests for multiple GOTs with MCJITAndrew Kaylor2013-10-054-0/+44
| | | | llvm-svn: 192021
* Adding support and tests for multiple module handling in lliAndrew Kaylor2013-10-0410-0/+80
| | | | llvm-svn: 191938
* Adding out-of-process execution support to lli.Andrew Kaylor2013-10-027-7/+7
| | | | | | | | At this time only Unix-based systems are supported. Windows has stubs and should re-route to the simulated mode. Thanks to Sriram Murali for contributions to this patch. llvm-svn: 191843
* Fix some more MCJIT PIC test XFAILs (for i386)Andrew Kaylor2013-09-204-4/+4
| | | | | | Patch by Dimitry Andric llvm-svn: 191111
* Add "native" to config.available_features, to make it easier to disable ↵Amaury de la Vieuville2013-09-131-1/+5
| | | | | | | | non-x-compile-safe tests Patch by Artyom Skrobov! llvm-svn: 190679
* X86TargetMachine.cpp: Clarify to emit GOT in i686-{cygming|win32}-elf for mcjit.NAKAMURA Takumi2013-08-214-4/+4
| | | | | | I suppose all "lli -use-mcjit i686-*" should require GOT, (and to fail.) llvm-svn: 188856
* Still more MCJIT PIC test XFAILsAndrew Kaylor2013-08-203-3/+3
| | | | llvm-svn: 188815
* Clarifying two MCJIT PIC tests as XFAIL on i686-pc-linuxAndrew Kaylor2013-08-204-4/+4
| | | | llvm-svn: 188814
* Removing duplicate XFAIL markersAndrew Kaylor2013-08-202-2/+2
| | | | llvm-svn: 188812
* Marking two more MCJIT PIC tests as XFAIL on i686Andrew Kaylor2013-08-204-4/+4
| | | | llvm-svn: 188808
* Marking MCJIT PIC tests as XFAIL on armAndrew Kaylor2013-08-206-6/+6
| | | | llvm-svn: 188807
* Marking MCJIT PIC tests as XFAIL on AArch64Andrew Kaylor2013-08-209-9/+9
| | | | llvm-svn: 188740
* Fixing XPASSes among MCJIT PIC test on i686Andrew Kaylor2013-08-204-4/+4
| | | | llvm-svn: 188736
* Second attempt to mark Large/PIC MCJIT test as XFAIL for PowerPC64Andrew Kaylor2013-08-201-1/+1
| | | | llvm-svn: 188735
* Marking two MCJIT PIC tests as XFAIL on DarwinAndrew Kaylor2013-08-202-2/+2
| | | | llvm-svn: 188734
* Trying again with PIC tests for MCJITAndrew Kaylor2013-08-199-0/+252
| | | | llvm-svn: 188730
* Reverting r188709 until I can figure out the proper way to XFAIL it.Andrew Kaylor2013-08-199-252/+0
| | | | llvm-svn: 188715
* Adding tests for PIC with MCJITAndrew Kaylor2013-08-199-0/+252
| | | | llvm-svn: 188709
* [tests] Cleanup initialization of test suffixes.Daniel Dunbar2013-08-162-19/+3
| | | | | | | | | | | | | | | | | - Instead of setting the suffixes in a bunch of places, just set one master list in the top-level config. We now only modify the suffix list in a few suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py). - Aside from removing the need for a bunch of lit.local.cfg files, this enables 4 tests that were inadvertently being skipped (one in Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been XFAILED). - This commit also fixes a bunch of config files to use config.root instead of older copy-pasted code. llvm-svn: 188513
* [mips] Remove XFAIL from test-ptr-reloc-remote.llPetar Jovanovic2013-07-241-1/+0
| | | | | | | The change r187019 has fixed multiple relocations in dynamic linker for MIPS, so now this test passes for MIPS. llvm-svn: 187053
* Enable mcjit tests on ppc64 when building with cmake.Rafael Espindola2013-06-031-1/+3
| | | | llvm-svn: 183143
* ARM: use pristine object file while processing relocationsTim Northover2013-05-283-3/+3
| | | | | | | | | | | | | | Previously we would read-modify-write the target bits when processing relocations for the MCJIT. This had the problem that when relocations were processed multiple times for the same object file (as they can be), the result is not idempotent and the values became corrupted. The solution to this is to take any bits used in the destination from the pristine object file as LLVM emitted it. This should fix PR16013 and remote MCJIT on ARM ELF targets. llvm-svn: 182800
* Disable remote MCJIT on pre-v6 ARMRenato Golin2013-05-201-0/+11
| | | | llvm-svn: 182235
* Invalidate instruction cache when setting memory to be executable.Tim Northover2013-05-195-15/+4
| | | | | | | | | lli's remote MCJIT code calls setExecutable just prior to running code. In line with Darwin behaviour this seems to be the place to invalidate any caches needed so that relocations can take effect properly. llvm-svn: 182213
OpenPOWER on IntegriCloud