1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
llvm-mirror/test/MC/MachO
Francis Visoiu Mistrih bb4cf24f14 [MC] Error on a .zerofill directive in a non-virtual section
On darwin, all virtual sections have zerofill type, and having a
.zerofill directive in a non-virtual section is not allowed. Instead of
asserting, show a nicer error.

In order to use the equivalent of .zerofill in a non-virtual section,
the usage of .zero of .space is required.

This patch replaces the assert with an error.

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

llvm-svn: 336127
2018-07-02 17:29:43 +00:00
..
AArch64
ARM [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
PowerPC
absolute.s
absolutize.s
alias.s
altentry.s
bad-darwin-x86_64-32-bit-abs-addr.s
bad-darwin-x86_64-diff-relocs.s
bad-darwin-x86_64-reloc-expr.s
bad-dollar.s
bad-indirect-symbols.s
bad-macro.s
bss.s
coal-sections-x86_64.s
comm-1.s
cstexpr-gotpcrel-32.ll
cstexpr-gotpcrel-64.ll
darwin-complex-difference.s
darwin-version-min-load-command.s
darwin-x86_64-diff-reloc-assign-2.s
darwin-x86_64-diff-reloc-assign.s
darwin-x86_64-diff-relocs.s
darwin-x86_64-nobase-relocs.s
darwin-x86_64-reloc-offsets.s
darwin-x86_64-reloc.s
data.s
debug_frame.s [CodeGen] Unify MBB reference format in both MIR and debug output 2017-12-04 17:18:51 +00:00
diff-with-two-sections.s MC/AsmPrinter: Reduce code duplication. 2017-12-14 03:59:24 +00:00
direction_labels.s
eh_symbol.s
eh-frame-reloc.s
empty-twice.ll
file.s [MC/Dwarf] Use the older DWARF linetables format on Darwin. 2017-12-07 00:57:25 +00:00
gen-dwarf-cpp.s [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-23 23:01:06 +00:00
gen-dwarf-macro-cpp.s [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-23 23:01:06 +00:00
gen-dwarf-producer.s llvm-dwarfdump: Make -brief the default and add a -verbose option instead. 2017-09-11 23:05:20 +00:00
gen-dwarf.s [DebugInfo] Support DWARF v5 source code embedding extension 2018-02-23 23:01:06 +00:00
i386-large-relocations.s
indirect-symbols.s
jcc.s
lcomm-attributes.s
linker-option-1.s
linker-option-2.s
linker-options.ll
lit.local.cfg
loc.s [MC] Allow .file directives to be out-of-order 2017-12-14 18:46:43 +00:00
osx-version-min-load-command.s
pcrel-to-other-section.s
pr19185.s
previous.s
pushsection.s
relax-jumps.s
relax-recompute-align.s
reloc-diff.s
reloc-pcrel-offset.s
reloc-pcrel.s
reloc.s
section-align-1.s
section-align-2.s
section-attributes.s
section-flags.s
string-table.s
symbol-diff.s
symbol-flags.s
symbol-indirect.s
symbols-1.s
tbss.s
tdata.s
temp-labels.s
thread_init_func.s
tls.s
tlv-bss.ll
tlv-reloc.s
tlv.s
undefined-directional.s
values.s
variable-errors.s
variable-exprs.s
weakdef.s
x86_32-optimal_nop.s [X86] Emit 11-byte or 15-byte NOPs on recent AMD targets, else default to 10-byte NOPs (PR22965) 2018-01-29 21:24:31 +00:00
x86_32-scattered-reloc-fallback.s
x86_32-sections.s
x86_32-symbols.s
x86_64-mergeable.s
x86_64-reloc-arithmetic.s
x86_64-sections.s
x86_64-symbols.s
x86-data-in-code.s
zero-space.s [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00
zerofill-1.s
zerofill-2.s
zerofill-3.s
zerofill-4.s
zerofill-5.s
zerofill-sect-align.s
zerofill-text.s [MC] Error on a .zerofill directive in a non-virtual section 2018-07-02 17:29:43 +00:00