| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 182201
|
|
|
|
| |
llvm-svn: 181678
|
|
|
|
| |
llvm-svn: 181600
|
|
|
|
|
|
|
| |
This patch handles the R_PPC64_REL64 relocation type for powerpc64
for mcjit.
llvm-svn: 181220
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 181195
|
|
|
|
|
|
|
| |
Looks like symbol resolution is not working on cygwin, the test fails
because __gxx_personality_v0 is not found.
llvm-svn: 181179
|
|
|
|
|
|
| |
We currently have no way to register new eh frames on ARM.
llvm-svn: 181172
|
|
|
|
| |
llvm-svn: 181171
|
|
|
|
|
|
| |
It looks like eh uses an unimplemented relocation on pp64
llvm-svn: 181169
|
|
|
|
|
|
|
|
|
| |
This gets exception handling working on ELF and Macho (x86-64 at least).
Other than the EH frame registration, this patch also implements support
for GOT relocations which are used to locate the personality function on
MachO.
llvm-svn: 181167
|
|
|
|
|
|
|
| |
This removes dire warnings about AArch64 being unsupported and enables
the tests when appropriate on this platform.
llvm-svn: 181135
|
|
|
|
| |
llvm-svn: 180790
|
|
|
|
|
|
|
| |
This fixes 2013-04-04-RelocAddend.ll. We don't have a testcase for non external
relocs with an Addend. I will try to write one.
llvm-svn: 180767
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For regular object files this is only meaningful for common symbols. An object
file format with direct support for atoms should be able to provide alignment
information for all symbols.
This replaces getCommonSymbolAlignment and fixes
test-common-symbols-alignment.ll on darwin. This also includes a fix to
MachOObjectFile::getSymbolFlags. It was marking undefined symbols as common
(already tested by existing mcjit tests now that it is used).
llvm-svn: 180736
|
|
|
|
|
|
|
| |
I recently enabled them on 32 and 64 bit darwin, but it looks like 32 bit is
still fairly broken.
llvm-svn: 180730
|
|
|
|
|
|
| |
This gets most of the MCJITs tests passing with MachO.
llvm-svn: 180716
|
|
|
|
| |
llvm-svn: 179043
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the RuntimeDyldELF::processRelocationRef routine finds the target
symbol of a relocation in the local or global symbol table, it performs
a section-relative relocation:
Value.SectionID = lsi->second.first;
Value.Addend = lsi->second.second;
At this point, however, any Addend that might have been specified in
the original relocation record is lost. This is somewhat difficult to
trigger for relocations within the code section since they usually
do not contain non-zero Addends (when built with the default JIT code
model, in any case). However, the problem can be reliably triggered
by a relocation within the data section caused by code like:
int test[2] = { -1, 0 };
int *p = &test[1];
The initializer of "p" will need a relocation to "test + 4". On
platforms using RelA relocations this means an Addend of 4 is required.
Current code ignores this addend when processing the relocation,
resulting in incorrect execution.
Fixed by taking the Addend into account when processing relocations
to symbols found in the local or global symbol table.
Tested on x86_64-linux and powerpc64-linux.
llvm-svn: 178869
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 176095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-svn: 168364
|
|
|
|
| |
llvm-svn: 168357
|
|
|
|
|
|
| |
Disable old JIT tests on PowerPC.
llvm-svn: 168316
|
|
|
|
|
|
|
|
| |
emitted in @main().
XFAIL(s) can be removed.
llvm-svn: 168282
|
|
|
|
| |
llvm-svn: 168281
|
|
|
|
| |
llvm-svn: 168226
|
|
|
|
| |
llvm-svn: 168221
|
|
|
|
| |
llvm-svn: 168210
|
|
|
|
| |
llvm-svn: 168180
|
|
|
|
| |
llvm-svn: 168149
|
|
|
|
|
|
| |
Patch by Amara Emerson.
llvm-svn: 166920
|
|
|
|
|
|
| |
Patch by Amara Emerson.
llvm-svn: 166919
|
|
|
|
| |
llvm-svn: 165313
|
|
|
|
|
|
| |
Patch by Amara Emerson.
llvm-svn: 165128
|
|
|
|
|
| |
FIXME: Also cygwin?
llvm-svn: 165081
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This reverts commit 163278.
Works OK on x86_64, but not i386. Will re-enable when that's cleared up.
llvm-svn: 163290
|
|
|
|
| |
llvm-svn: 163278
|
|
|
|
| |
llvm-svn: 162885
|
|
|
|
|
|
| |
Patch by Reed Kotler.
llvm-svn: 158933
|
|
|
|
|
|
| |
RuntimeDyldMachO has a problems with relocations for 32bit x86.
llvm-svn: 157035
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
llvm-svn: 153701
|
|
|
|
|
|
| |
Added ExecutionEngine/MCJIT tests.
llvm-svn: 153694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
Added ExecutionEngine/MCJIT tests.
llvm-svn: 153221
|