1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC
Vedant Kumar 4cdff9c456 [MC/AsmParser] Avoid setting MCSymbol.IsUsed in some cases
Avoid marking some MCSymbols as used in MC/AsmParser.cpp when no uses
exist. This fixes a bug in parseAssignmentExpression() which
inadvertently sets IsUsed, thereby triggering:

    "invalid re-assignment of non-absolute variable"

on otherwise valid code. No other functionality change intended.

The original version of this patch touched many calls to MCSymbol
accessors. On rafael's advice, I have stripped this patch down a bit.

As a follow-up, I intend to find the call sites which intentionally set
IsUsed and force them to do so explicitly.

Differential Revision: http://reviews.llvm.org/D12347

llvm-svn: 246457
2015-08-31 17:44:53 +00:00
..
AArch64 [AArch64] Improve short-form diags on long-form Match_InvalidOperand. 2015-08-19 17:40:19 +00:00
AMDGPU AMDGPU: Add sdst operand to VOP2b instructions 2015-08-29 07:16:50 +00:00
ARM DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
AsmParser [MC/AsmParser] Avoid setting MCSymbol.IsUsed in some cases 2015-08-31 17:44:53 +00:00
COFF Revert "Centralize the information about which object format we are using." 2015-08-14 15:48:41 +00:00
Disassembler [llvm-mc] Ignore opcode size prefix in 64-bit CALL disassembly 2015-08-26 16:20:29 +00:00
ELF DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
Hexagon [Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing. 2015-06-05 16:00:11 +00:00
MachO [MC] Convert tests to use llvm-readobj --macho-version-min. 2015-08-28 12:40:05 +00:00
Markup
Mips [mips][microMIPS] Add microMIPS32r6 and microMIPS64r6 tests for existing 16-bit ADDIUR1SP, ADDIUR2, ADDIUS5 and ADDIUSP instructions 2015-08-20 11:51:49 +00:00
PowerPC Scalar to vector conversions using direct moves 2015-08-13 17:40:44 +00:00
Sparc [Sparc]: correct the 'set' synthetic instruction 2015-08-20 16:16:16 +00:00
SystemZ [SystemZ] Add z13 vector facility and MC support 2015-05-05 19:23:40 +00:00
X86 AVX512: ktest implemantation 2015-08-31 13:30:19 +00:00