[dsymutil] Add support to generate .debug_pubnames and .debug_pubtypes
authorFrederic Riss <friss@apple.com>
Mon, 16 Mar 2015 02:05:10 +0000 (02:05 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 16 Mar 2015 02:05:10 +0000 (02:05 +0000)
commitbce93ff0114a0f328f1fbdb9cd8a4be6dbb355c3
treed8e8d6e5dab4e17483df09372e29a6c64abeb384
parent9fdb81d09b82f2bd4ec5075d9d636ef952b3a99b
[dsymutil] Add support to generate .debug_pubnames and .debug_pubtypes

The information gathering part of the patch stores a bit more information
than what is strictly necessary for these 2 sections. The rest will
become useful when we start emitting __apple_* type accelerator tables.

llvm-svn: 232342
llvm/test/tools/dsymutil/X86/basic-linking-x86.test
llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test
llvm/tools/dsymutil/DwarfLinker.cpp