[mach-o] Support old style objc class names in export lists
authorNick Kledzik <kledzik@apple.com>
Fri, 24 Oct 2014 22:28:54 +0000 (22:28 +0000)
committerNick Kledzik <kledzik@apple.com>
Fri, 24 Oct 2014 22:28:54 +0000 (22:28 +0000)
commit4183dbcc0327e9ef54447143c0073aa2593a5618
tree4a326a06b767ffd565bfd588a2c71d4e1ed32ef1
parent761d6549bc5a5e4223b3f27e3345b7cc1f0dea98
[mach-o] Support old style objc class names in export lists

Objective-C switched to a new ABI which uses a different mangling for class
names.  But to keep projects building that use export lists that use the old
class name mangling, the linker recognizes the old names and transforms them
to the new mangling.

llvm-svn: 220598
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
lld/test/mach-o/objc_export_list.yaml [new file with mode: 0644]