llvm-6502/test/MC/MachO
Kevin Enderby 221514efe9 Add a warning when there is a macro defintion that has named parameters but
the body does not use them and it appears the body has positional parameters.

This can cause unexpected results as in the added test case.  As the darwin
version of gas(1) which only supported positional parameters, happened to
ignore the named parameters.  Now that we want to support both styles of
macros we issue a warning in this specific case.

rdar://12861644


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173199 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-22 21:44:53 +00:00
..
ARM Correct ARM NOP encoding 2012-12-05 21:01:27 +00:00
absolute.s Assembler: Darwin variables defined via .set are no-dead-strip. 2012-09-13 23:11:31 +00:00
absolutize.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
bad-dollar.s Have the integrated assembler give an error if $1 is used as an identifier in 2013-01-22 21:09:20 +00:00
bad-macro.s Add a warning when there is a macro defintion that has named parameters but 2013-01-22 21:44:53 +00:00
comm-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-complex-difference.s MC/Expr: Implemnt more aggressive folding during symbol evaluation using 2010-12-17 05:50:33 +00:00
darwin-x86_64-diff-reloc-assign.s Fixed a crash in llvm-mc for Mach-O when a symbol difference expression uses a 2012-01-31 23:02:57 +00:00
darwin-x86_64-diff-relocs.s Fix a ton of comment typos found by codespell. Patch by 2011-04-15 05:18:47 +00:00
darwin-x86_64-nobase-relocs.s Fix a Darwin x86_64 special case of a jmp to a temporary symbol from an atom 2011-09-08 20:53:44 +00:00
darwin-x86_64-reloc-offsets.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
darwin-x86_64-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
data.s
debug_frame.s Some autoconf tests use module level inline asm to test compiler's handling of 2011-08-24 22:31:37 +00:00
diff-with-two-sections.s Fix absolute recording of differences of symbols in two sections. Reduced from ctor_dtor_count-2.cpp. 2010-12-07 17:12:32 +00:00
direction_labels.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
empty-dwarf-lines.s Second try at making direct object emission produce the same results 2010-12-06 17:27:56 +00:00
file.s Fixed a bug in the code to create a dwarf file and directory table entires when 2011-11-01 23:39:05 +00:00
gen-dwarf-cpp.s Add support for generating dwarf debugging info with assembly files 2012-11-01 17:31:35 +00:00
gen-dwarf-macro-cpp.s Fix for PR14264 cause by commit r167237 which did not take into account a 2012-11-05 21:55:41 +00:00
gen-dwarf-producer.s We want the dwarf AT_producer for assembly source files to match clang's 2013-01-16 17:46:23 +00:00
gen-dwarf.s The section is .debug_line. 2012-11-27 01:40:36 +00:00
i386-large-relocations.s X86_32: Large Symbol+Offset relocations. 2012-09-26 21:27:45 +00:00
indirect-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
jcc.s
lcomm-attributes.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
linker-option-1.s [MC/Mach-O] Add AsmParser support for .linker_option directive. 2013-01-18 01:25:48 +00:00
linker-option-2.s [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
linker-options.ll [MC/Mach-O] Load commands are supposed to 8-byte aligned on 64-bit. 2013-01-22 03:42:49 +00:00
lit.local.cfg MachO: direct-to-object attribute for data-in-code markers. 2012-10-01 22:20:54 +00:00
loc.s Add reduced test from 8845. 2010-12-22 21:15:13 +00:00
pcrel-to-other-section.s Fix pcrel relocations that cross sections. 2010-12-07 03:50:14 +00:00
previous.s Add .pushsection', .popsection', and `.previous' directives to Darwin ASM. 2012-08-08 06:30:30 +00:00
pushsection.s Add .pushsection', .popsection', and `.previous' directives to Darwin ASM. 2012-08-08 06:30:30 +00:00
relax-jumps.s
relax-recompute-align.s Relax alignment fragments. 2010-12-15 08:45:53 +00:00
reloc-diff.s
reloc-pcrel-offset.s MC tweak symbol difference resolution for non-local symbols. 2012-01-17 22:14:39 +00:00
reloc-pcrel.s MC tweak symbol difference resolution for non-local symbols. 2012-01-17 22:14:39 +00:00
reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-align-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
section-attributes.s MC/Mach-O: Fix regression introduced in r126127, this assignment shouldn't have 2011-03-17 16:25:24 +00:00
section-flags.s
string-table.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-diff.s Fix a crash reduced from gcc produced assembly. 2010-12-07 01:09:54 +00:00
symbol-flags.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbol-indirect.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
symbols-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tbss.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tdata.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
temp-labels.s MC: Add support for disabling "temporary label" behavior. Useful for debugging 2011-03-28 22:49:15 +00:00
thread_init_func.s
tls.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv-reloc.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
tlv.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
values.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
variable-errors.s MCAsmLayout: Add support for computing the symbol offset of variables. Not 2011-04-29 18:20:20 +00:00
variable-exprs.s MC: Change variable symbols to be recognized as defined, by assigning their sections based on FindAssociatedSection(). 2011-04-29 18:20:17 +00:00
weakdef.s Fix relocations with weak definitions. 2010-12-07 05:57:28 +00:00
x86_32-optimal_nop.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_32-sections.s
x86_32-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86_64-reloc-arithmetic.s MachOWriter: Don't crash on fixups with arithmetic, emit a relocation instead. This matches what as does. 2011-08-12 01:51:29 +00:00
x86_64-sections.s
x86_64-symbols.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
x86-data-in-code.ll MachO: direct-to-object attribute for data-in-code markers. 2012-10-01 22:20:54 +00:00
zerofill-1.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-2.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-3.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-4.s
zerofill-5.s macho-dump: Fix typo. 2010-11-27 04:00:06 +00:00
zerofill-sect-align.s