1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/MC/MachO
Francis Visoiu Mistrih 30264d4391 [CodeGen] Unify MBB reference format in both MIR and debug output
As part of the unification of the debug format and the MIR format, print
MBB references as '%bb.5'.

The MIR printer prints the IR name of a MBB only for block definitions.

* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)->getNumber\(\)/" << printMBBReference(*\1)/g'
* find . \( -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#" << ([a-zA-Z0-9_]+)\.getNumber\(\)/" << printMBBReference(\1)/g'
* find . \( -name "*.txt" -o -name "*.s" -o -name "*.mir" -o -name "*.cpp" -o -name "*.h" -o -name "*.ll" \) -type f -print0 | xargs -0 sed -i '' -E 's/BB#([0-9]+)/%bb.\1/g'
* grep -nr 'BB#' and fix

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

llvm-svn: 319665
2017-12-04 17:18:51 +00:00
..
AArch64 CodeGen: Use PLT relocations for relative references to unnamed_addr functions. 2016-04-22 20:40:10 +00:00
ARM ARM: use an external relocation for calls from MachO ARM mode. 2017-08-18 19:13:56 +00:00
PowerPC [MachO] Stop generating *coal* sections. 2015-10-15 05:28:38 +00:00
absolute.s [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
absolutize.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
alias.s [MachO] Fix codegen of alias of alias. 2017-06-08 20:49:03 +00:00
altentry.s [MachO] Extend the alt_entry support for aliases added in r263521 to 2016-03-15 04:20:49 +00:00
bad-darwin-x86_64-32-bit-abs-addr.s
bad-darwin-x86_64-diff-relocs.s [Assembler] Make fatal assembler errors non-fatal 2015-11-17 10:00:43 +00:00
bad-darwin-x86_64-reloc-expr.s
bad-dollar.s
bad-indirect-symbols.s
bad-macro.s
bss.s
coal-sections-x86_64.s [MachO] Stop generating *coal* sections. 2015-10-15 05:28:38 +00:00
comm-1.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
cstexpr-gotpcrel-32.ll
cstexpr-gotpcrel-64.ll
darwin-complex-difference.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
darwin-version-min-load-command.s Add LC_BUILD_VERSION load command 2017-01-23 20:07:55 +00:00
darwin-x86_64-diff-reloc-assign-2.s
darwin-x86_64-diff-reloc-assign.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
darwin-x86_64-diff-relocs.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
darwin-x86_64-nobase-relocs.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
darwin-x86_64-reloc-offsets.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
darwin-x86_64-reloc.s
data.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
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] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
direction_labels.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
eh_symbol.s
eh-frame-reloc.s
empty-twice.ll Add missing emissionKind flags to the DICompileUnits of several old testcases. 2016-04-01 22:18:43 +00:00
file.s Speculatively revert r289925, see PR31407 2016-12-16 14:02:28 +00:00
gen-dwarf-cpp.s llvm-dwarfdump: Replace -debug-dump=sect option with individual options. 2017-09-11 22:59:45 +00:00
gen-dwarf-macro-cpp.s llvm-dwarfdump: Replace -debug-dump=sect option with individual options. 2017-09-11 22:59:45 +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 [dwarfdump] Add verbose output for .debug-line section 2017-09-21 20:15:30 +00:00
i386-large-relocations.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
indirect-symbols.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
jcc.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
lcomm-attributes.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
linker-option-1.s
linker-option-2.s [llvm-readobj] MachO -- dump LinkerOptions load command. 2015-09-09 00:21:18 +00:00
linker-options.ll IR: Replace the "Linker Options" module flag with "llvm.linker.options" named metadata. 2017-06-12 20:10:48 +00:00
lit.local.cfg
loc.s Speculatively revert r289925, see PR31407 2016-12-16 14:02:28 +00:00
osx-version-min-load-command.s
pcrel-to-other-section.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
pr19185.s
previous.s
pushsection.s
relax-jumps.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
relax-recompute-align.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
reloc-diff.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
reloc-pcrel-offset.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
reloc-pcrel.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
reloc.s
section-align-1.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
section-align-2.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
section-attributes.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
section-flags.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
string-table.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
symbol-diff.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
symbol-flags.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
symbol-indirect.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
symbols-1.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
tbss.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
tdata.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
temp-labels.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
thread_init_func.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
tls.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
tlv-bss.ll [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
tlv-reloc.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
tlv.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
undefined-directional.s AsmParser: record "# line file" context to calculate location for diag 2016-04-13 19:46:54 +00:00
values.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
variable-errors.s
variable-exprs.s [MachO] Fix codegen of alias of alias. 2017-06-08 20:49:03 +00:00
weakdef.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
x86_32-optimal_nop.s [MC] Convert all the remaining tests from macho-dump to llvm-readobj. 2015-09-10 01:50:00 +00:00
x86_32-scattered-reloc-fallback.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
x86_32-sections.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
x86_32-symbols.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
x86_64-mergeable.s
x86_64-reloc-arithmetic.s [MachO] Add MachO alt-entry directive support. 2016-03-15 01:43:05 +00:00
x86_64-sections.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
x86_64-symbols.s
x86-data-in-code.s MachO: enable .data_region directives everywhere 2016-04-21 23:00:17 +00:00
zerofill-1.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
zerofill-2.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
zerofill-3.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
zerofill-4.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
zerofill-5.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00
zerofill-sect-align.s [MC] Convert other MachO tests from macho-dump to llvm-readobj. 2015-09-05 01:02:05 +00:00