llvm-project/llvm/test/tools
David Blaikie 9670a45c98 libDebugInfoDWARF: Don't try to parse loclist[.dwo] headers when parsing debug_info[.dwo]
There's no way to know whether there's a loclist contribution to parse
if there's no loclistx encoding - and if there is one, there's no need
to walk back from the loclist_base (or, uin the case of
info.dwo/loclist.dwo - starting at 0 in the contribution) to parse the
header, instead rely on the DWARF32/64 and address size in the CU
that's already available.

This would come up in split DWARF (non-split wouldn't try to read a
loclist header in the absence of a loclist_base) when one unit had
location lists and another does not (because the loclists.dwo section
would be non-empty in that case - in the case where it's empty the
parsing would silently skip).

Simplify the testing a bit, rather than needing a whole dwp, etc - by
creating a malformed loclists.dwo section (and use single file Split
DWARF) that would trip up any attempt to parse it - but no attempt
should be made.
2020-10-13 22:28:59 -07:00
..
UpdateTestChecks [UpdateTestChecks] Remove bug-exposing test 2020-09-23 11:28:28 -05:00
dsymutil [dsymutil] Disable dsymutil/X86/reproducer.test on windows. 2020-08-06 12:49:35 +03:00
gold Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
llc
llvm-ar [llvm-ar][test][AIX] Unsupport error-opening-directory.test on AIX 2020-07-13 12:00:07 -04:00
llvm-as [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) 2020-07-08 10:22:49 -07:00
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 [llvm-cov] Warn when -arch spec is missing/invalid for universal binary (reland) 2020-10-13 16:46:03 -07:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool
llvm-dwarfdump libDebugInfoDWARF: Don't try to parse loclist[.dwo] headers when parsing debug_info[.dwo] 2020-10-13 22:28:59 -07:00
llvm-dwp llvm-dwarfdump: Include unit count in DWP index header dumping 2020-06-12 12:40:02 -07:00
llvm-elfabi
llvm-exegesis Reland rG4fcd1a8e6528:[llvm-exegesis] Add option to check the hardware support for a given feature before benchmarking. 2020-10-01 12:21:16 -04:00
llvm-extract
llvm-gsymutil [DWARFYAML] Make the include_directories, file_names and opcodes fields of the line table optional. 2020-09-18 20:21:11 +08:00
llvm-ifs [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
llvm-isel-fuzzer
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] Address post-commit feedback 2020-08-25 15:04:23 -07:00
llvm-link Fix test that was accidentally adding the llvm-as binary into an 2020-07-14 17:07:40 -07:00
llvm-lipo [llvm-lipo] Add support for bitcode files 2020-08-25 21:11:18 -07:00
llvm-lit
llvm-locstats
llvm-lto [ThinLTO] Compute the basic block count across modules. 2020-05-28 10:33:05 -07:00
llvm-lto2
llvm-mc
llvm-mca [TableGen][SchedModels] Fix aliasing of SchedWriteVariant 2020-10-13 13:05:24 +03:00
llvm-ml [ms] [llvm-ml] Create the @feat.00 symbol, and populate it appropriately 2020-09-29 17:02:27 -04:00
llvm-modextract
llvm-mt
llvm-nm [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) 2020-07-08 10:22:49 -07:00
llvm-objcopy [llvm-install-name-tool] Add -delete_all_rpaths option 2020-10-13 00:45:57 -07:00
llvm-objdump [AMDGPU] Support disassembly for AMDGPU kernel descriptors 2020-10-07 20:39:43 +05:30
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbutil
llvm-profdata [llvm-profdata]Fix llvm-profdata crash on compact binary profile 2020-09-20 16:58:34 -07:00
llvm-ranlib
llvm-rc [llvm-rc] Allow omitting components from VERSIONINFO versions 2020-09-16 09:34:26 +03:00
llvm-readobj [WebAssembly] Added .tabletype to asm and multiple table support in obj files 2020-10-13 07:52:23 -07:00
llvm-size [llvm-size] Output REL, RELA and STRTAB sections when allocatable 2020-07-01 12:02:32 +01:00
llvm-split
llvm-strings Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
llvm-symbolizer Revert "[DebugInfo] Remove dots from getFilenameByIndex return value" 2020-09-15 10:06:47 -07:00
llvm-xray [XRay] Account: recursion detection 2020-07-27 10:15:44 +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 [yaml2obj][elf2yaml] - Add a support for the `EntSize` field for `SHT_HASH` sections. 2020-10-02 12:01:50 +03:00
opt-viewer Fix opt-viewer tests failing after move from cgi.escape to html.escape 2020-04-17 08:37:47 +02:00
sancov [sancov] Accommodate sancov and coverage report server for use under Windows 2020-05-26 14:36:44 -07:00
sanstats
split-file Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
yaml2obj [DWARFYAML] Make the opcode_base and the standard_opcode_lengths fields optional. 2020-10-09 11:10:03 +08:00