OSDN Git Service

[DWARF5] Added support for emission of .debug_macro.dwo section
authorSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Sat, 30 May 2020 05:41:09 +0000 (11:11 +0530)
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Sat, 30 May 2020 05:43:23 +0000 (11:13 +0530)
commit20c9bb44ec1a4a795215ff6964d264219f9b05f2
tree55affcd4d8b3088f56b781bf2ec8935418307635
parent0800529fe605a03e9da1aca241a377eebcaa8cad
[DWARF5] Added support for emission of .debug_macro.dwo section

This patch adds support for emission of following DWARFv5 macro
forms in .debug_macro.dwo section:

- DW_MACRO_start_file
- DW_MACRO_end_file
- DW_MACRO_define_strx
- DW_MACRO_undef_strx

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D78866
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/test/DebugInfo/X86/debug-macro-dwo.ll [new file with mode: 0644]