llvm-project/llvm/test/MC
Rafael Espindola e3a20f57d9 Fix pr24486.
This extends the work done in r233995 so that now getFragment (in addition to
getSection) also works for variable symbols.

With that the existing logic to decide if a-b can be computed works even if
a or b are variables. Given that, the expression evaluation can avoid expanding
variables as aggressively and that in turn lets the relocation code see the
original variable.

In order for this to work with the asm streamer, there is now a dummy fragment
per section. It is used to assign a section to a symbol when no other fragment
exists.

This patch is a joint work by Maxim Ostapenko andy myself.

llvm-svn: 249303
2015-10-05 12:07:05 +00:00
..
AArch64 Restore test coverage for other than ELFOSABI_NONE 2015-09-24 23:01:16 +00:00
AMDGPU AMDGPU/SI: Use .hsatext section instead of .text for HSA 2015-09-25 21:41:28 +00:00
ARM Actually switch the arch when we see .arch. PR21695 2015-10-02 18:25:25 +00:00
AsmParser [MC/AsmParser] Avoid setting MCSymbol.IsUsed in some cases 2015-08-31 17:44:53 +00:00
COFF Fix pr24486. 2015-10-05 12:07:05 +00:00
Disassembler [SystemZ] Add assembly instructions for obtaining clock values as well as CPU features 2015-10-01 14:43:48 +00:00
ELF Fix pr24486. 2015-10-05 12:07:05 +00:00
Hexagon [Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing. 2015-06-05 16:00:11 +00:00
MachO [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
Markup
Mips [mips][microMIPS] Implement CACHEE, WRPGPR and WSBH instructions 2015-10-01 12:49:27 +00:00
PowerPC Scalar to vector conversions using direct moves 2015-08-13 17:40:44 +00:00
Sparc [SPARCv9] Add support for the rdpr/wrpr instructions. 2015-10-04 09:11:22 +00:00
SystemZ [SystemZ] Add assembly instructions for obtaining clock values as well as CPU features 2015-10-01 14:43:48 +00:00
X86 AVX512: Implemented encoding and intrinsics for VPERMILPS/PD instructions. 2015-10-04 07:20:41 +00:00