[dwarfdump] Recognize __apple sections as debug info sections
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 30 Oct 2020 00:48:21 +0000 (17:48 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 30 Oct 2020 00:54:34 +0000 (17:54 -0700)
commitdb3dba52caa8cd8bb37fa1c7cd2a0bc1ddb214eb
treef855da061c67f0fbbe7b9f0c041ce66bdbe4cf7f
parent29f9db7125af2bba0863e9aa937b0b12b7dd187b
[dwarfdump] Recognize __apple sections as debug info sections

Recognize the __apple_ sections as debug info sections and make sure
they're included in the --show-sections-sizes output.

Differential revision: https://reviews.llvm.org/D90433
llvm/lib/Object/MachOObjectFile.cpp
llvm/test/tools/llvm-dwarfdump/X86/section_sizes_macho.test
llvm/test/tools/llvm-dwarfdump/X86/statistics.ll