llvm-project/llvm/test/tools/llvm-objdump
Sam Clegg 9f3fe42e19 [WebAssembly] Remove debug names from symbol table
Get rid of DEBUG_FUNCTION_NAME symbols. When we actually debug
data, maybe we'll want somewhere to put it... but having a symbol
that just stores the name of another symbol seems odd.
It means you have multiple Symbols with the same name, one
containing the actual function and another containing the name!

Store the names in a vector on the WasmObjectFile when reading
them in. Also stash them on the WasmFunctions themselves.
The names are //not// "symbol names" or aliases or anything,
they're just the name that a debugger should show against the
function body itself. NB. The WasmObjectFile stores them so that
they can be exported in the YAML losslessly, and hence the tests
can be precise.

Enforce that the CODE section has been read in before reading
the "names" section. Requires minor adjustment to some tests.

Patch by Nicholas Wilson!

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

llvm-svn: 322741
2018-01-17 19:28:43 +00:00
..
AArch64 llvm-objdump: Add missing requires for the test in r313921 2017-11-16 20:20:56 +00:00
AMDGPU [AMDGPU] Convert test/tools/llvm-objdump/AMDGPU/source-lines.ll to amdgiz 2017-11-30 20:27:56 +00:00
ARM [llvm-objdump] Correctly distinguish between the MachO upper/lower16 relocations 2017-07-13 05:54:08 +00:00
Hexagon [Hexagon] New HVX target features. 2017-10-18 18:07:07 +00:00
Inputs [wasm] readSection: Avoid reading past eof (fixes oss-fuzz #3219) 2017-10-23 18:04:34 +00:00
Mips
WebAssembly [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
X86 Fix tests after move to utohexstr. 2017-12-28 17:00:37 +00:00
coff-file.test
coff-import-library.test
coff-large-bss.test
coff-many-relocs.test
coff-non-null-terminated-file.test
coff-private-headers.test
common-symbol-elf.test
eh_frame-arm64.test
eh_frame-mipsel.test
eh_frame_zero_cie.test
hex-relocation-addr.test
invalid-input.test
macho-LLVM-bundle.test [llvm-objdump] Disable leak checking on an llvm-objdump test 2017-10-10 17:50:57 +00:00
macho-bad-bind.test [MachO] Use Twines more efficiently. 2017-08-20 15:13:39 +00:00
macho-bad-ordinal.test
macho-bad-trie.test [MachO] Use Twines more efficiently. 2017-08-20 15:13:39 +00:00
macho-bind.test
macho-bind2.test
macho-compact-unwind-i386.test
macho-compact-unwind-x86_64.test
macho-exports-trie.test Fix a FIXME in llvm-objdump for the -exports-trie option that was not adding 2017-06-19 21:23:07 +00:00
macho-lazy-bind.test
macho-objc-meta-data.test
macho-rebase.test
macho-sections.test
macho-unwind-info-arm64.test
macho-unwind-info-no-relocs.test
macho-unwind-info-x86_64.test
macho-weak-bind.test
malformed-archives.test
malformed-macho.test
malformed-unwind-x86_64.test
proc-specific-section-elf.test
section-filter.test
wasm-corrupt-section.test [wasm] readSection: Avoid reading past eof (fixes oss-fuzz #3219) 2017-10-23 18:04:34 +00:00
wasm.txt [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
win64-unwind-data.test