llvm-project/llvm/test/tools/llvm-objdump/X86
Rafael Espindola 62a07cb59b 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
..
Inputs For llvm-objdump added support for printing Objc1 32-bit runtime meta data 2015-04-16 17:19:59 +00:00
disassembly-show-raw.test
lit.local.cfg
macho-archive-headers.test For llvm-objdump, with the -archive-headers and -macho options, use the -non-verbose 2015-04-30 20:30:42 +00:00
macho-cstring-dump.test Add the option, -no-leading-addr llvm-objdump used with -macho and 2015-03-17 21:07:39 +00:00
macho-dis-no-leading-addr.test Add the option, -no-leading-addr llvm-objdump used with -macho and 2015-03-17 21:07:39 +00:00
macho-dis-symname.test Add the option, -dis-symname to llvm-objdump used with -macho and 2015-03-17 17:10:57 +00:00
macho-dylib.test Add the options, -dylibs-used and -dylib-id to llvm-objdump used with -macho 2015-03-16 20:08:09 +00:00
macho-indirect-symbols.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-info-plist.test Add the option, -info-plist to llvm-objdump used with -macho to print the 2015-03-11 22:06:32 +00:00
macho-literal-pointers-i386.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-literal-pointers-x86_64.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-literals.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-nontext-disasm.test Add code to llvm-objdump so the -section option with -macho will disassemble sections 2015-02-04 01:01:38 +00:00
macho-objc-meta-data.test For llvm-objdump, dump the (__OBJC,__protocol) section for Objc1 32-bit Mach-O files 2015-04-16 22:33:20 +00:00
macho-private-headers.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-relocations.test For llvm-objdump, hook up existing options to work when using -macho (the Mach-O parser). 2015-01-20 21:47:46 +00:00
macho-section-contents.test For llvm-objdump, hook up existing options to work when using -macho (the Mach-O parser). 2015-01-20 21:47:46 +00:00
macho-section-headers.test For llvm-objdump, hook up existing options to work when using -macho (the Mach-O parser). 2015-01-20 21:47:46 +00:00
macho-section.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-symbol-table.test Stop inventing symbol sizes. 2015-05-22 15:43:00 +00:00
macho-symbolized-disassembly.test Add the option -no-symbolic-operands to llvm-objdump used with -macho and 2015-03-17 22:26:11 +00:00
macho-symbolized-subtractor-i386.test Add the code and test cases for 32-bit Intel to llvm-objdump’s Mach-O symbolizer. 2014-11-04 00:43:16 +00:00
macho-symbolized-subtractor.test Hookup the MCSymbolizer to llvm-objdump’s disassembly for Mach-O files. 2014-09-16 18:00:57 +00:00
macho-universal-x86_64.i386.test Add the option, -non-verbose to llvm-objdump used with -macho to print things 2015-03-13 17:56:32 +00:00
macho-unwind-info.test For llvm-objdump, hook up existing options to work when using -macho (the Mach-O parser). 2015-01-20 21:47:46 +00:00
out-of-section-sym.test