1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/AsmParser
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
..
align_invalid.s
assignment.s
at-pseudo-variable-bad.s [MC] [IAS] Add support for the \@ .macro pseudo-variable. 2015-04-27 10:50:29 +00:00
at-pseudo-variable.s [MC] [IAS] Add support for the \@ .macro pseudo-variable. 2015-04-27 10:50:29 +00:00
bad-macro.s
cfi-unfinished-frame.s
cfi-window-save.s
comments-x86-darwin.s MC: AsmLexer: handle multi-character CommentStrings correctly 2014-08-14 02:51:43 +00:00
conditional_asm.s MCAsmParser: full support for gas' '.if{cond} expression' directives 2014-06-18 20:57:28 +00:00
dash-n.s
defsym_error1.s Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
defsym_error2.s Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
defsym.s Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly. 2015-06-07 01:46:24 +00:00
directive_abort.s
directive_align.s
directive_ascii.s
directive_comm.s
directive_darwin_section.s
directive_desc.s
directive_elf_size.s
directive_end-2.s
directive_end.s
directive_file-errors.s
directive_file.s MCNullStreamer: assign file IDs to resolve crashes and errors 2014-06-19 17:15:36 +00:00
directive_fill.s
directive_incbin.s
directive_include.s
directive_lcomm.s
directive_line.s MCNullStreamer: assign file IDs to resolve crashes and errors 2014-06-19 17:15:36 +00:00
directive_loc.s MCNullStreamer: assign file IDs to resolve crashes and errors 2014-06-19 17:15:36 +00:00
directive_lsym.s
directive_org.s
directive_rept-diagnostics.s
directive_rept.s
directive_seh.s Rearrange the CHECK lines in this test to make failure more obvious. 2014-06-10 20:16:47 +00:00
directive_set.s MC: Don't emit .no_dead_strip on targets which don't support it 2014-12-24 04:11:42 +00:00
directive_space.s
directive_subsections_via_symbols.s
directive_symbol_attrs.s
directive_tbss.s
directive_tdata.s
directive_thread_init_func.s
directive_tlv.s
directive_values.s
directive_zerofill.s
directive-err-diagnostics.s
directive-err.s
directive-warning.s Let the integrated assembler understand .warning, PR20428. 2014-07-24 16:26:06 +00:00
dollars-in-identifiers.s
dot-symbol-assignment-backwards.s
dot-symbol-assignment.s
dot-symbol-non-absolute.s
dot-symbol.s
equ.s
expr_symbol_modifiers.s
expr-shr.s [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
exprs-invalid.s
exprs.s
extern.s
floating-literals.s
hello.s
if-diagnostics.s MCAsmParser: full support for gas' '.if{cond} expression' directives 2014-06-18 20:57:28 +00:00
ifb.s
ifc.s
ifdef.s
ifeqs-diagnostics.s Add support for .ifnes psuedo-op. 2015-03-18 14:20:54 +00:00
ifeqs.s
ifndef.s
ifnes.s Add support for .ifnes psuedo-op. 2015-03-18 14:20:54 +00:00
incbin_abcd
invalid-input-assertion.s MC: remove unnecessary restriction on tests 2014-05-23 02:56:51 +00:00
labels.s
line_with_hash.s
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
macro-args.s
macro-def-in-instantiation.s
macro-err1.s
macro-exitm.s Let the integrated assembler understand .exitm, PR20426. 2014-07-24 17:08:39 +00:00
macro-irp.s
macro-irpc.s
macro-qualifier-diagnostics.s
macro-qualifier.s
macro-rept-err1.s
macro-rept-err2.s
macro-rept.s
macros-argument-parsing-diagnostics.s
macros-argument-parsing.s
macros-darwin-vararg.s Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI 2015-08-10 19:01:27 +00:00
macros-darwin.s
macros-gas.s
macros-parsing.s
pr11865.s
purgem.s
reassign.s [MC/AsmParser] Avoid setting MCSymbol.IsUsed in some cases 2015-08-31 17:44:53 +00:00
rename.s Centralize the handling of unique ids for temporary labels. 2015-03-17 20:07:06 +00:00
section_names.s
section.s Relax these tests a bit. 2015-05-22 21:37:13 +00:00
secure_log_unique.s
vararg-default-value.s Integrated assbemler, macros: added 'vararg' argument qualifier support. 2014-04-23 06:56:28 +00:00
vararg.s Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI 2015-08-10 19:01:27 +00:00
variables-invalid.s
variables.s