diff options
| author | Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com> | 2019-11-11 12:53:19 +0530 |
|---|---|---|
| committer | Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com> | 2019-12-03 08:54:12 +0530 |
| commit | 3f3d0f4f4be04f2dae219c0fe76562eb01ba06d2 (patch) | |
| tree | 9119529518f814f5698e3d5a51bd110de8092bb7 /llvm/lib/MC | |
| parent | 389530524be1715e97947810514f3a75dfe73975 (diff) | |
| download | bcm5719-llvm-3f3d0f4f4be04f2dae219c0fe76562eb01ba06d2.tar.gz bcm5719-llvm-3f3d0f4f4be04f2dae219c0fe76562eb01ba06d2.zip | |
[DebugInfo] Support for debug_macinfo.dwo section in llvm and llvm-dwarfdump.
This patch adds support for debug_macinfo.dwo section[pre-standardized]
to llvm and llvm-dwarfdump.
Reviewers: probinson, dblaikie, aprantl, jini.susan.george, alok
Differential Revision: https://reviews.llvm.org/D70705
Tags: #debug-info #llvm
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 5b4da1998c4..9aee0a5ca4e 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -463,6 +463,8 @@ void MCObjectFileInfo::initELFMCObjectFileInfo(const Triple &T, bool Large) { DebugSecType, ELF::SHF_EXCLUDE); DwarfRnglistsDWOSection = Ctx->getELFSection(".debug_rnglists.dwo", DebugSecType, ELF::SHF_EXCLUDE); + DwarfMacinfoDWOSection = + Ctx->getELFSection(".debug_macinfo.dwo", DebugSecType, ELF::SHF_EXCLUDE); DwarfLoclistsDWOSection = Ctx->getELFSection(".debug_loclists.dwo", DebugSecType, ELF::SHF_EXCLUDE); |

