llvm-6502/test/Object/Inputs
Kevin Enderby ecbc72405e Add "-format darwin" to llvm-nm to be like darwin's nm(1) -m output.
This is a first step in seeing if it is possible to make llvm-nm produce
the same output as darwin's nm(1).  Darwin's default format is bsd but its
-m output prints the longer Mach-O specific details.  For now I added the
"-format darwin" to do this (whos name may need to change in the future).
As there are other Mach-O specific flags to nm(1) which I'm hoping to add some
how in the future.  But I wanted to see if I could get the correct output for
-m flag using llvm-nm and the libObject interfaces.

I got this working but would love to hear what others think about this approach
to getting object/format specific details printed with llvm-nm.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210285 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-05 21:21:57 +00:00
..
COFF obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
ELF
absolute.elf-x86-64 Add a test for printing absolute symbols in ELF. 2014-02-05 04:36:47 +00:00
archive-test.a-coff-i386
archive-test.a-corrupt-symbol-table
archive-test.a-empty
archive-test.a-gnu-minimal
archive-test.a-gnu-no-symtab
coff_archive_short.lib
coff_archive.lib
common.coff-i386 Add a test for common symbols in coff. 2014-02-04 23:18:52 +00:00
corrupt-version.elf-x86_64
corrupt.elf-x86-64
darwin-m-test1.mach0-armv7 Add "-format darwin" to llvm-nm to be like darwin's nm(1) -m output. 2014-06-05 21:21:57 +00:00
darwin-m-test2.macho-i386 Add "-format darwin" to llvm-nm to be like darwin's nm(1) -m output. 2014-06-05 21:21:57 +00:00
darwin-m-test3.macho-x86-64 Add "-format darwin" to llvm-nm to be like darwin's nm(1) -m output. 2014-06-05 21:21:57 +00:00
dext-test.elf-mips64r2
elf-reloc-no-sym.x86_64
elf-versioning-test.i386
elf-versioning-test.x86_64
elfver.S
elfver.script
evenlen
GNU.a
hello-world.elf-x86-64
IsNAN.o
liblong_filenames.a
libsimple_archive.a
macho-data-in-code.macho-thumbv7
macho-text-data-bss.macho-x86_64 Implement MachOObjectFile::isSectionData() and MachOObjectFile::isSectionBSS 2014-05-19 20:36:02 +00:00
macho-text-sections.macho-x86_64
macho-text.thumb
macho-universal-archive.x86_64.i386 Teach llvm-nm to know about fat archives (aka MachOUniversal files 2014-05-14 21:18:50 +00:00
macho-universal.x86_64.i386
MacOSX.a
oddlen
program-headers.elf-i386
program-headers.elf-x86-64
program-headers.mips
relocatable-with-section-address.elf-x86-64 Revert "Fix a nomenclature error in llvm-nm." 2014-04-03 00:19:35 +00:00
relocation-dynamic.elf-i386 Implement getRelocationAddress for MachO and ET_REL elf files. 2014-04-03 23:54:35 +00:00
relocation-relocatable.elf-i386 Implement getRelocationAddress for MachO and ET_REL elf files. 2014-04-03 23:54:35 +00:00
relocations.elf-x86-64
shared-object-test.elf-i386
shared-object-test.elf-x86-64
shared.ll
SVR4.a
thumb-symbols.elf.arm Only clear the thumb bit from function addresses. 2014-04-03 02:20:43 +00:00
trivial-executable-test.macho-x86-64
trivial-object-test2.elf-x86-64
trivial-object-test.coff-i386
trivial-object-test.coff-x86-64 obj2yaml: Use the correct relocation type for different machine types 2014-04-07 23:12:20 +00:00
trivial-object-test.elf-hexagon
trivial-object-test.elf-i386
trivial-object-test.elf-mips64el
trivial-object-test.elf-mipsel [Object][ELF][Mips] Print symbol name for MIPS ELF relocations. 2014-01-23 15:05:45 +00:00
trivial-object-test.elf-x86-64
trivial-object-test.macho-i386
trivial-object-test.macho-x86-64
trivial.ll
very_long_bytecode_file_name.bc
weak-global-symbol.macho-i386
weak.elf-x86-64 Small fix for llvm-nm handling of weak symbols on ELF (print 'v'). 2014-02-04 23:53:15 +00:00
xpg4.a