1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/tools
Mircea Trofin 03a62f3073 [utils] Fix UpdateTestChecks case where 2 runs differ for last label
Two RUN lines produce outputs that, each, have some common parts and
some different parts. The common parts are checked under label A. The
differing parts are associated to a function and checked under labels B
and C, respectivelly.
When build_function_body_dictionary is called for the first RUN line, it
will attribute the function body to labels A and C. When the second RUN
is passed to build_function_body_dictionary, it sees that the function
body under A is different from what it has. If in this second RUN line,
A were at the end of the prefixes list, A's body is still kept
associated with the first run's function.

When we output the function body (i.e. add_checks), we stop after
emitting for the first prefix matching that function. So we end up with
the wrong function body (first RUN's A-association).

There is no reason to special-case the last label in the prefixes list,
and the fix is to always clear a label association if we find a RUN line
where the body is different.

Differential Revision: https://reviews.llvm.org/D93078
2020-12-15 07:16:54 -08:00
..
dsymutil [llvm] fix global_downgraded_to_static test 2020-11-18 17:22:02 +01:00
gold Rename -plugin-opt=no-new-pass-manager to -plugin-opt=legacy-pass-manager 2020-12-09 16:43:30 -08:00
llc [llc] Use -filetype=null to disable MIR printing 2020-10-16 16:51:56 +01:00
llvm-ar
llvm-as
llvm-cfi-verify
llvm-config [Test] Tidy up loose ends from LLVM_HAS_GLOBAL_ISEL 2020-08-27 16:36:27 +01:00
llvm-cov s/instantate/instantiate/ throughout. NFCI. 2020-12-01 22:13:40 -05:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool Make test/tools/llvm-dlltool/tool-name.test pass, and make it run 2020-11-03 11:59:15 -05:00
llvm-dwarfdump [Triple][MachO] Define "arm64e", an AArch64 subarch for Pointer Auth. 2020-12-03 07:53:59 -08:00
llvm-dwp
llvm-elfabi [llvm-elfabi] Emit ELF .dynsym, .dynamic sections 2020-11-24 00:17:04 -08:00
llvm-exegesis [llvm-exegesis][X86] Save and restore eflags. 2020-11-04 10:44:15 +01:00
llvm-extract
llvm-gsymutil [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
llvm-ifs
llvm-isel-fuzzer [mac/arm] Deflake 3 check-llvm tests 2020-12-12 21:14:45 -05:00
llvm-lib [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-24 22:15:08 +03:00
llvm-libtool-darwin [llvm-libtool-darwin] Add support for LLVM bitcode files 2020-10-29 12:00:44 -07:00
llvm-link [llvm-link] use file magic when deciding if input should be loaded as archive 2020-12-02 17:21:34 -08:00
llvm-lipo [llvm-lipo] Add support for bitcode files 2020-08-25 21:11:18 -07:00
llvm-lit
llvm-locstats
llvm-lto
llvm-lto2
llvm-mc
llvm-mca [AArch64] Enable Cortex-A55 schedmodel 2020-11-30 19:28:34 +00:00
llvm-ml [ms] [llvm-ml] Support command-line defines 2020-12-01 18:06:05 -05:00
llvm-modextract
llvm-mt
llvm-nm [llvm-nm][MachO] Don't call getFlags on redacted symbols 2020-12-04 21:48:53 -08:00
llvm-objcopy [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
llvm-objdump [Triple][MachO] Define "arm64e", an AArch64 subarch for Pointer Auth. 2020-12-03 07:53:59 -08:00
llvm-opt-fuzzer [mac/arm] Deflake 3 check-llvm tests 2020-12-12 21:14:45 -05:00
llvm-opt-report
llvm-pdbutil
llvm-profdata [SampleFDO] Store fixed length MD5 in NameTable instead of using ULEB128 if 2020-12-08 16:21:01 -08:00
llvm-profgen [llvm-profgen][NFC] Fix test failure by making unwinder's output deterministic 2020-12-07 22:36:25 -08:00
llvm-ranlib
llvm-rc [llvm-rc] Handle driveless absolute windows paths when loading external files 2020-12-10 14:11:06 +02:00
llvm-readobj [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
llvm-size
llvm-split
llvm-strings Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
llvm-symbolizer Fixup test in path to use C:\ instead of D:\ which may be mapped to a removable. 2020-12-07 16:36:58 -08:00
llvm-xray Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
lto Fix llvm/test/tools/lto/hide-linkonce-odr.ll 2020-08-21 18:32:35 -07:00
not Disable 'not' test on Windows because 'env' from GnuWin32 cannot be used without arguments. 2020-08-24 21:55:34 -04:00
obj2yaml [obj2yaml] - Support dumping objects that have multiple SHT_SYMTAB_SHNDX sections. 2020-12-09 12:14:58 +03:00
opt-viewer
sancov
sanstats
split-file Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
UpdateTestChecks [utils] Fix UpdateTestChecks case where 2 runs differ for last label 2020-12-15 07:16:54 -08:00
yaml2obj [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00