1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/MC/AsmParser
Paul Robinson 39d709618f Fix a crash with assembler source and -g.
llvm-mc or clang with -g normally produces debug info describing the
assembler source itself; however, if that source already contains some
.file/.loc directives, we should instead emit the debug info described
by those directives.  For certain assembler sources seen in the wild
(particularly in the Chrome build) this was causing a crash due to
incorrect assumptions about legal sequences of assembler source text.

Fixes PR38994.

Differential Revision: https://reviews.llvm.org/D63573

llvm-svn: 364039
2019-06-21 13:10:19 +00:00
..
AArch64
Inputs
align_invalid.s
altmacro_expression.s
altmacro_string_escape.s
altmacro_string.s
assembler-expressions-fail.s
assembler-expressions-inlineasm.ll
assembler-expressions.s
assignment.s
at-pseudo-variable-bad.s
at-pseudo-variable.s
bad-macro.s
cfi-unfinished-frame.s
cfi-unknown-register.s
cfi-window-save.s
comments-x86-darwin.s
conditional_asm.s
dash-n.s
debug-empty-source.s
debug-no-source.s
debug-only-comments.s [DWARF] Emit reasonable debug info for empty .s files. 2019-01-29 20:53:51 +00:00
defsym_error1.s
defsym_error2.s
defsym.s
directive_abort.s
directive_align.s
directive_ascii.s
directive_cgprofile.s
directive_comm.s
directive_darwin_section.s
directive_dc.s
directive_dcb.s
directive_desc.s
directive_ds.s
directive_elf_size.s
directive_end-2.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
directive_end.s [llvm-readobj] Change -t to --symbols in tests. NFC 2019-05-01 09:28:24 +00:00
directive_file-2.s
directive_file-3.s
directive_file-g.s Fix a crash with assembler source and -g. 2019-06-21 13:10:19 +00:00
directive_file.s
directive_fill_2.s
directive_fill.s
directive_incbin.s
directive_include.s
directive_lcomm.s
directive_line.s
directive_loc.s
directive_lsym.s
directive_org.s
directive_print.s
directive_rept-diagnostics.s
directive_rept.s
directive_seh.s
directive_set.s
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
dollars-in-identifiers.s
dot-symbol-assignment-backwards.s
dot-symbol-assignment.s
dot-symbol-non-absolute.s
dot-symbol.s
empty-comment.s
equ.s
expr_symbol_modifiers.s
expr-shr.s
exprs-invalid.s
exprs.s
extern.s
floating-literals.s [MC] Fix floating-point literal lexing. 2019-03-28 21:12:28 +00:00
hash-directive.s
hello.s
if-diagnostics.s
ifb.s
ifc.s
ifdef.s [MC] Do not consider .ifdef/.ifndef as a use 2019-01-28 19:32:08 +00:00
ifeqs-diagnostics.s
ifeqs.s
ifndef.s [MC] Do not consider .ifdef/.ifndef as a use 2019-01-28 19:32:08 +00:00
ifnes.s
incbin_abcd
include.ll
inline_macro_duplication.ll
inline-comments.ll
invalid-asm-variant.s
invalid-input-assertion.s
labels.s
line_with_hash.s
lit.local.cfg [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
macro_parsing.s
macro-args.s
macro-def-in-instantiation.s
macro-duplicate-params-names-err.s
macro-err1.s
macro-exitm.s
macro-irp.s
macro-irpc.s
macro-max-depth.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
macros-darwin.s
macros-gas.s
macros-parsing.s
negativ_altmacro_expression.s
negative_altmacro_string.s
non-english-characters.s
pr11865.s
pr28805.ll
pr28921.s
preserve-comments-crlf.s
preserve-comments.s
purgem.s
reassign.s
rename.s
section_names.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
section.s [llvm-readobj] Change -long-option to --long-option in tests. NFC 2019-05-01 05:27:20 +00:00
secure_log_unique.s
seh-directive-errors.s
seh-unfinished-frame.s
undefined-local-symbol.s
unfinished-op.s X86AsmParser: Do not process a non-existent token 2019-03-26 03:12:41 +00:00
uppercase-hex.s
vararg-default-value.s
vararg.s
variables-invalid.s
variables.s