llvm-project/llvm/lib/CodeGen/AsmPrinter
Sander de Smalen dc00becd1b [DebugInfo] Emit DWARF reference for DIVariable 'count' in DISubrange
Summary:
This patch implements the codegen of DWARF debug info for non-constant
'count' fields for DISubrange.

This is patch [2/3] in a series to extend LLVM's DISubrange Metadata
node to support debugging of C99 variable length arrays and vectors with
runtime length like the Scalable Vector Extension for AArch64. It is
also a first step towards representing more complex cases like arrays
in Fortran.

Reviewers: echristo, pcc, aprantl, dexonsmith, clayborg, kristof.beyls, dblaikie

Reviewed By: aprantl

Subscribers: fhahn, aemerson, rengolin, JDevlieghere, llvm-commits

Differential Revision: https://reviews.llvm.org/D41696

llvm-svn: 323323
2018-01-24 13:35:54 +00:00
..
ARMException.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
AddressPool.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
AddressPool.h [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
AsmPrinter.cpp CodeGen: handle llvm.used properly for COFF 2018-01-20 00:28:02 +00:00
AsmPrinterDwarf.cpp [DWARF][NFC] Overload AsmPrinter::emitDwarfStringOffsets() to take a DwarfStringPoolEntry 2018-01-11 02:35:00 +00:00
AsmPrinterHandler.h
AsmPrinterInlineAsm.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
ByteStreamer.h [DebugInfo] Align comments in debug_loc section 2018-01-05 22:20:30 +00:00
CMakeLists.txt Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
CodeViewDebug.cpp [Metadata] Extend 'count' field of DISubrange to take a metadata node 2018-01-24 09:56:07 +00:00
CodeViewDebug.h [CodeView] Teach clang to emit the .debug$H COFF section. 2017-12-13 22:33:58 +00:00
DIE.cpp Recommit "[DWARFv5] Dump an MD5 checksum in the line-table header." 2017-12-18 19:08:35 +00:00
DIEHash.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
DIEHash.h DebugInfo: Include .dwo file name when hashing multiple CUs in a single file 2017-05-29 06:32:34 +00:00
DIEHashAttributes.def Fix DIEHash refactoring that dropped the DW_AT_name from the hash 2017-05-23 18:36:07 +00:00
DbgValueHistoryCalculator.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
DbgValueHistoryCalculator.h Add a few missing headers for modularization/IWYU/etc 2017-10-27 22:12:46 +00:00
DebugHandlerBase.cpp Re-land "Fix faulty assertion in debug info" 2018-01-05 23:01:04 +00:00
DebugHandlerBase.h [codeview] Generalize DIExpression parsing to handle load chains 2017-08-31 15:56:49 +00:00
DebugLocEntry.h Reverting r315590; it did not include changes for llvm-tblgen, which is causing link errors for several people. 2017-10-15 14:32:27 +00:00
DebugLocStream.cpp
DebugLocStream.h Sort the remaining #include lines in include/... and lib/.... 2017-06-06 11:49:48 +00:00
DwarfAccelTable.cpp [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
DwarfAccelTable.h llvm-dwarfdump: implement --find for .apple_names 2017-09-28 18:10:52 +00:00
DwarfCFIException.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
DwarfCompileUnit.cpp [DebugInfo] Emit DWARF reference for DIVariable 'count' in DISubrange 2018-01-24 13:35:54 +00:00
DwarfCompileUnit.h [DWARFv5] CodeGen support for MD5 file checksums 2018-01-12 19:17:50 +00:00
DwarfDebug.cpp Don't emit apple accelerator tables on non-darwin targets 2018-01-17 11:52:13 +00:00
DwarfDebug.h [DebugInfo] Fix potential CU mismatch for SubprogramScopeDIEs. 2017-11-15 10:57:05 +00:00
DwarfException.h Emit .cfi_sections before the first .cfi_startproc 2017-01-02 18:05:27 +00:00
DwarfExpression.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
DwarfExpression.h [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
DwarfFile.cpp [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
DwarfFile.h Modularize: Include some required headers 2017-11-03 20:24:19 +00:00
DwarfStringPool.cpp [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
DwarfStringPool.h [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-17 21:26:39 +00:00
DwarfUnit.cpp [DebugInfo] Emit DWARF reference for DIVariable 'count' in DISubrange 2018-01-24 13:35:54 +00:00
DwarfUnit.h [DWARFv5] CodeGen support for MD5 file checksums 2018-01-12 19:17:50 +00:00
EHStreamer.cpp Tidy some grammar in some comments 2018-01-09 23:25:38 +00:00
EHStreamer.h [CodeGen] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-10-10 22:33:29 +00:00
ErlangGCPrinter.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
LLVMBuild.txt Update libdeps to add BinaryFormat, introduced in r304864. 2017-06-07 04:48:49 +00:00
OcamlGCPrinter.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
WinCFGuard.cpp Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
WinCFGuard.h Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
WinException.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
WinException.h [WinEH] Don't assume endFunction is called while in .text 2016-12-28 19:05:12 +00:00