1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/test/tools/llvm-objdump
Rafael Espindola 948209eab7 Stop inventing symbol sizes.
MachO and COFF quite reasonably only define the size for common symbols.

We used to try to figure out the "size" by computing the gap from one symbol to
the next.

This would not be correct in general, since a part of a section can belong to no
visible symbol (padding, private globals).

It was also really expensive, since we would walk every symbol to find the size
of one.

If a caller really wants this, it can sort all the symbols once and get all the
gaps ("size") in O(n log n) instead of O(n^2).

On MachO this also has the advantage of centralizing all the checks for an
invalid n_sect.

llvm-svn: 238028
2015-05-22 15:43:00 +00:00
..
AArch64 [Objdump] Pass the correct subtarget to printInst. 2015-03-28 20:44:05 +00:00
ARM Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
Inputs [Objdump] Fixing crash when printing symbols in ELF sections with special types. 2015-02-18 23:00:22 +00:00
X86 Stop inventing symbol sizes. 2015-05-22 15:43:00 +00:00
coff-file.test tools: fix heap-buffer-overrun detected via ASAN 2014-04-14 16:38:25 +00:00
coff-large-bss.test llvm-objdump: Skip empty sections when dumping contents 2014-11-11 09:58:25 +00:00
coff-many-relocs.test
coff-non-null-terminated-file.test tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
coff-private-headers.test
common-symbol-elf.test [Objdump] Output information about common symbols in a way closer to GNU objdump. 2015-01-23 20:06:24 +00:00
hex-relocation-addr.test
macho-bad-ordinal.test [llvm-objdump] Update error message and add test case for mach-o file with bad library ordinals 2014-10-14 23:29:38 +00:00
macho-bind2.test [llvm-objdump] Fix mach-o binding decompression error 2014-10-18 01:21:02 +00:00
macho-bind.test [llvm-objdump] clean up test cases now that build bots are green 2014-09-17 21:53:07 +00:00
macho-compact-unwind-i386.test llvm-objdump: implement printing for MachO __compact_unwind info. 2014-08-01 13:07:19 +00:00
macho-compact-unwind-x86_64.test llvm-objdump: implement printing for MachO __compact_unwind info. 2014-08-01 13:07:19 +00:00
macho-exports-trie.test Fix test case to match correct llvm-objdump output 2014-09-03 01:34:58 +00:00
macho-lazy-bind.test [llvm-objdump] clean up test cases now that build bots are green 2014-09-17 21:53:07 +00:00
macho-rebase.test Stop suppress error messages in test case to see why one buildbot is failing 2014-09-12 22:46:01 +00:00
macho-sections.test Add a -raw option to the -section mode of llvm-objdump. 2015-03-27 17:31:15 +00:00
macho-unwind-info-arm64.test llvm-objdump: print contents of MachO __unwind_info sections 2014-08-12 11:52:59 +00:00
macho-unwind-info-no-relocs.test llvm-objdump: don't crash when __compact_unwind has no relocs. 2014-09-09 10:45:06 +00:00
macho-unwind-info-x86_64.test llvm-objdump: print contents of MachO __unwind_info sections 2014-08-12 11:52:59 +00:00
macho-weak-bind.test [llvm-objdump] clean up test cases now that build bots are green 2014-09-17 21:53:07 +00:00
proc-specific-section-elf.test [Objdump] Fixing crash when printing symbols in ELF sections with special types. 2015-02-18 23:00:22 +00:00
win64-unwind-data.test