This patch adds basic debug info support with basic block sections.
authorKrzysztof Pszeniczny <krzysztof.pszeniczny@gmail.com>
Thu, 2 Jul 2020 06:47:30 +0000 (23:47 -0700)
committerSriraman Tallam <tmsriram@google.com>
Thu, 2 Jul 2020 06:53:00 +0000 (23:53 -0700)
commite4b3c138deb8b4e7fd6afbf301b85da7e812d505
tree23450e4e3f8e13887e4fed23d3cf069c2d4d93c7
parentfdbd78333fc6f1deb3037d0961130f05dce059e7
This patch adds basic debug info support with basic block sections.

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.

Differential Revision: https://reviews.llvm.org/D78851
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/CodeGen/AsmPrinterHandler.h
llvm/include/llvm/CodeGen/DebugHandlerBase.h
llvm/include/llvm/CodeGen/MachineBasicBlock.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 [new file with mode: 0644]