From f44dbda5427bcbdcb7f2c22c57bff8f901ff515a Mon Sep 17 00:00:00 2001 From: Nick Kledzik Date: Wed, 12 Nov 2014 01:37:45 +0000 Subject: Object, support both mach-o archive t.o.c file names For historical reasons archives on mach-o have two possible names for the file containing the table of contents for the archive: "__.SYMDEF SORTED" and "__.SYMDEF". But the libObject archive reader only supported the former. This patch fixes llvm::object::Archive to support both names. llvm-svn: 221747 --- llvm/test/Object/Inputs/macho-archive-unsorted-x86_64.a | Bin 0 -> 1304 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 llvm/test/Object/Inputs/macho-archive-unsorted-x86_64.a (limited to 'llvm/test/Object/Inputs') diff --git a/llvm/test/Object/Inputs/macho-archive-unsorted-x86_64.a b/llvm/test/Object/Inputs/macho-archive-unsorted-x86_64.a new file mode 100644 index 00000000000..6a2b570f160 Binary files /dev/null and b/llvm/test/Object/Inputs/macho-archive-unsorted-x86_64.a differ -- cgit v1.2.3