llvm-6502/test/CodeGen
Rafael Espindola 3d47402f2e Error if we see an alias to a declaration.
In ELF and COFF an alias is just another offset in a section. There is no way
to represent an alias to something in another file.

In MachO, the spec has the N_INDR type which should allow for exactly that, but
is not currently implemented. Given that it is specified but not implemented,
we error in codegen to avoid miscompiling but don't reject aliases to
declarations in the verifier to leave the option open of implementing it.

In the past we have used alias to declarations as a way of implementing
weakref, which is why it exists in some old tests which this patch updates.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194705 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-14 13:58:06 +00:00
..
AArch64 Add test case for AArch64 NEON instruction set misc. 2013-11-14 06:45:17 +00:00
ARM Error if we see an alias to a declaration. 2013-11-14 13:58:06 +00:00
CPP
Generic Error if we see an alias to a declaration. 2013-11-14 13:58:06 +00:00
Hexagon TBAA: remove !tbaa from testing cases when they are not needed. 2013-09-30 18:17:35 +00:00
Inputs
Mips Take care of long short branch immediate instructions for mips16 in 2013-11-13 23:52:18 +00:00
MSP430 Make sure SP is always aligned on a 2 byte boundary 2013-10-24 09:32:31 +00:00
NVPTX [NVPTX] Properly handle bitcast ConstantExpr when checking for the alignment of function parameters 2013-11-11 19:28:19 +00:00
PowerPC Error if we see an alias to a declaration. 2013-11-14 13:58:06 +00:00
R600 R600/SI: Add testcase for problem I ran into 2013-11-14 07:57:29 +00:00
SPARC [SparcV9] Handle i64 <-> float conversions in sparcv9 mode. 2013-11-03 12:28:40 +00:00
SystemZ [SystemZ] Automatically detect zEC12 and z196 hosts 2013-10-31 12:14:17 +00:00
Thumb
Thumb2 Enable generating legacy IT block for AArch32 2013-11-13 18:29:49 +00:00
X86 Error if we see an alias to a declaration. 2013-11-14 13:58:06 +00:00
XCore Error if we see an alias to a declaration. 2013-11-14 13:58:06 +00:00