llvm-project/llvm/test/tools/llvm-objdump
Sam Clegg e7a60708ff [WebAssembly] Only treat imports/exports as symbols when reading relocatable object files
This change only treats imported and exports functions and globals
as symbol table entries the object has a "linking" section (i.e. it is
relocatable object file).

In this case all globals must be of type I32 and initialized with
i32.const.  This was previously being assumed but not checked for and
was causing a failure on big endian machines due to using the wrong
value of then union.

See: https://bugs.llvm.org/show_bug.cgi?id=34487

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

llvm-svn: 312674
2017-09-06 22:05:41 +00:00
..
AArch64 [llvm-objdump] Properly print MachO aarch64 addend relocations 2017-07-13 17:03:02 +00:00
AMDGPU Fix source-lines test on Windows. 2017-03-07 21:53:21 +00:00
ARM [llvm-objdump] Correctly distinguish between the MachO upper/lower16 relocations 2017-07-13 05:54:08 +00:00
Hexagon Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
Inputs Add error handling to the dyld compact export entries in libObject. 2017-07-20 23:08:41 +00:00
Mips [mips] Drop unneeded REQUIRES line in test. NFCI 2017-03-01 14:31:09 +00:00
WebAssembly [WebAssembly] Only treat imports/exports as symbols when reading relocatable object files 2017-09-06 22:05:41 +00:00
X86 Update test: 2017-08-31 15:35:33 +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
macho-bad-bind.test [MachO] Use Twines more efficiently. 2017-08-20 15:13:39 +00:00
macho-bad-ordinal.test Actually add error handling to unpacking the dyld compact bind and 2017-02-28 21:47:07 +00:00
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 Change the llvm-obdump(1) behavior with the -macho flag and inappropriate file types. 2017-01-30 20:53:17 +00:00
malformed-unwind-x86_64.test llvm-objdump: deal with unexpected object files more gracefully. 2016-11-15 20:26:01 +00:00
proc-specific-section-elf.test
section-filter.test
wasm.txt [WebAssembly] Be consistent in generating trivial test input files 2017-07-10 20:43:26 +00:00
win64-unwind-data.test