llvm-project/llvm/lib/CodeGen/AsmPrinter
Amy Huang 1363dfaf31 [CodeView] Avoid emitting empty debug globals subsection.
In https://reviews.llvm.org/D89072 I added static const data members
to the debug subsection for globals. It skipped emitting an S_CONSTANT if it
didn't have a value, which meant the subsection could be empty.

This patch fixes the empty subsection issue.

Differential Revision: https://reviews.llvm.org/D92049
2020-11-25 16:13:32 -08:00
..
ARMException.cpp [MC] De-capitalize another set of MCStreamer::Emit* functions 2020-02-14 19:26:52 -08:00
AccelTable.cpp [DebugInfo] Make offsets of dwarf units 64-bit (19/19). 2020-09-15 12:23:32 +07:00
AddressPool.cpp [DebugInfo] Fix emitting DWARF64 .debug_addr sections (15/19). 2020-09-15 12:23:31 +07:00
AddressPool.h Recommit "PR44685: DebugInfo: Handle address-use-invalid type units referencing non-type units" 2020-08-18 13:43:28 -07:00
AsmPrinter.cpp [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref 2020-11-21 21:04:12 -08:00
AsmPrinterDwarf.cpp [DebugInfo] Add new emitting methods for values which depend on the DWARF format (3/19). 2020-09-15 11:30:10 +07:00
AsmPrinterInlineAsm.cpp [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref 2020-11-21 21:04:12 -08:00
ByteStreamer.h [AsmPrinter] Rename ByteStreamer::EmitInt8 to emitInt8 2020-11-06 20:02:56 -08:00
CMakeLists.txt llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
CodeViewDebug.cpp [CodeView] Avoid emitting empty debug globals subsection. 2020-11-25 16:13:32 -08:00
CodeViewDebug.h make the AsmPrinterHandler array public 2020-11-03 10:02:09 -05:00
DIE.cpp [DebugInfo] Simplify DIEInteger::SizeOf(). 2020-09-17 12:47:38 +07:00
DIEHash.cpp DebugInfo: Hash DIE referevences (DW_OP_convert) when computing Split DWARF signatures 2020-10-22 20:09:33 -07:00
DIEHash.h DebugInfo: Hash DIE referevences (DW_OP_convert) when computing Split DWARF signatures 2020-10-22 20:09:33 -07:00
DIEHashAttributes.def
DbgEntityHistoryCalculator.cpp [NFC] Set return type of getStackPointerRegisterToSaveRestore to Register 2020-10-21 16:19:38 -07:00
DebugHandlerBase.cpp make the AsmPrinterHandler array public 2020-11-03 10:02:09 -05:00
DebugLocEntry.h [NFCI] Removed an un-used declaration got accidentally introduced in f91d18eaa9 2020-09-01 15:59:04 +05:30
DebugLocStream.cpp hwasan: add tag_offset DWARF attribute to optimized debug info 2019-12-12 16:18:54 -08:00
DebugLocStream.h hwasan: add tag_offset DWARF attribute to optimized debug info 2019-12-12 16:18:54 -08:00
DwarfCFIException.cpp Exception support for basic block sections 2020-09-30 11:05:55 -07:00
DwarfCompileUnit.cpp [SVE] Return StackOffset for TargetFrameLowering::getFrameIndexReference. 2020-11-05 11:02:18 +00:00
DwarfCompileUnit.h [DebugInfo] Fix emitting DWARF64 compilation units (5/19). 2020-09-15 11:30:30 +07:00
DwarfDebug.cpp Revert "[DebugInfo] Refactor code for emitting DWARF expressions for FP constants" 2020-11-24 09:11:33 +01:00
DwarfDebug.h make the AsmPrinterHandler array public 2020-11-03 10:02:09 -05:00
DwarfException.h Call Frame Information (CFI) Handling for Basic Block Sections 2020-07-14 12:54:12 -07:00
DwarfExpression.cpp Revert "[DebugInfo] Refactor code for emitting DWARF expressions for FP constants" 2020-11-24 09:11:33 +01:00
DwarfExpression.h Revert "[DebugInfo] Refactor code for emitting DWARF expressions for FP constants" 2020-11-24 09:11:33 +01:00
DwarfFile.cpp DwarfFile.h - remove unnecessary includes. NFCI. 2020-09-17 12:12:18 +01:00
DwarfFile.h DwarfFile.h - remove unnecessary includes. NFCI. 2020-09-17 12:12:18 +01:00
DwarfStringPool.cpp DwarfStringPool.cpp - remove unnecessary StringRef include. NFCI. 2020-09-17 12:18:27 +01:00
DwarfStringPool.h [DebugInfo] Make the offset of string pool entries 64-bit (18/19). 2020-09-15 12:23:32 +07:00
DwarfUnit.cpp AsmPrinter/Dwarf*: Use llvm::Register instead of unsigned 2020-11-06 21:00:28 -08:00
DwarfUnit.h [DebugInfo] Delete unused DwarfUnit::addConstantFPValue & addConstantValue overloads. NFC 2020-11-04 00:05:57 -08:00
EHStreamer.cpp [AsmPrinter] Split up .gcc_except_table 2020-11-02 14:36:25 -08:00
EHStreamer.h Exception support for basic block sections 2020-09-30 11:05:55 -07:00
ErlangGCPrinter.cpp [AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction 2020-02-13 17:06:24 -08:00
OcamlGCPrinter.cpp [MCStreamer] De-capitalize EmitValue EmitIntValue{,InHex} 2020-02-14 23:08:40 -08:00
WasmException.cpp Exception support for basic block sections 2020-09-30 11:05:55 -07:00
WasmException.h Exception support for basic block sections 2020-09-30 11:05:55 -07:00
WinCFGuard.cpp [CFGuard] Add address-taken IAT tables and delay-load support 2020-11-17 18:24:45 -08:00
WinCFGuard.h [CFGuard] Add address-taken IAT tables and delay-load support 2020-11-17 18:24:45 -08:00
WinException.cpp Reapply "[CodeGen] [WinException] Only produce handler data at the end of the function if needed" 2020-11-23 23:17:03 +02:00
WinException.h [AsmPrinter] Remove unused forward declarations. NFC. 2020-04-22 14:01:52 +01:00