Improved macro emission in dwarf.
authorAmjad Aboud <amjad.aboud@intel.com>
Mon, 1 Feb 2016 14:09:41 +0000 (14:09 +0000)
committerAmjad Aboud <amjad.aboud@intel.com>
Mon, 1 Feb 2016 14:09:41 +0000 (14:09 +0000)
commit8bbce8ad8e395796d2f7c0ff0e166e71cb2b88cd
treecf6873aa53de01bbac7a1f5a34e6cb1bec684e51
parentc578d6740762334db412d4beb996f7b760ca4a1a
Improved macro emission in dwarf.
Changed emitting offset of macinfo entry into compiler unit DIE to use "addSectionLabel" method rather than explicitly calculating size/offset of macro entry.

Differential Revision: http://reviews.llvm.org/D16292

llvm-svn: 259358
llvm/include/llvm/CodeGen/DIE.h
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/MC/MCObjectFileInfo.cpp