[PATCH] D78851: Debug Info Support for Basic Block Sections

Sriraman Tallam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 24 20:34:13 PDT 2020


tmsriram created this revision.
tmsriram added reviewers: dblaikie, davidxl.
Herald added subscribers: hiraditya, aprantl.

This patch adds basic debug info support with basic block sections supported in D68063 <https://reviews.llvm.org/D68063> and D73674 <https://reviews.llvm.org/D73674>.

The original author of this patch is @amharc and I am presenting this for review on his behalf.

This patch uses ranges for debug information when a function contains basic block sections rather than using [lowpc, highpc].  This is also the first in a series of patches for debug info and does not contain the support for linker relaxation.  That will be done as a follow up patch.


https://reviews.llvm.org/D78851

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/include/llvm/CodeGen/AsmPrinterHandler.h
  llvm/include/llvm/CodeGen/DebugHandlerBase.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/test/DebugInfo/X86/basicblock-sections_1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78851.260057.patch
Type: text/x-patch
Size: 13127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200425/15e5ced4/attachment.bin>


More information about the llvm-commits mailing list