llvm-project/llvm/lib/CodeGen/AsmPrinter
Bjorn Pettersson 65fbe38f0a [DwarfDebug] Restore code that make comments stay aligned in DwarfDebug::emitDebugLocEntry
Commit 2bddab25db removed a piece of code from
DwarfDebug::emitDebugLocEntry that according to code comments
"Make sure comments stay aligned".

This patch restores that piece of code, together with the addition
of some extra checks in an existing lit test to work as a regression
test. Without this patch we incorrectly get
  .byte   159                             # 0
instead of
  .byte   159                             # DW_OP_stack_value

Differential Revision: https://reviews.llvm.org/D117441
2022-01-18 09:46:03 +01:00
..
AIXException.cpp [AIX][XCOFF] generate eh_info when vector registers are saved according to the traceback table. 2021-06-22 13:01:31 -04:00
ARMException.cpp [CodeGen] Fix wrapping personality symbol on ARM 2021-09-28 15:01:05 -07:00
AccelTable.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AddressPool.cpp [debug-info] refactor emitDwarfUnitLength 2021-02-25 21:00:25 -05:00
AddressPool.h
AsmPrinter.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
AsmPrinterDwarf.cpp Implement DW_CFA_LLVM_* for Heterogeneous Debugging 2021-06-14 08:51:50 +05:30
AsmPrinterInlineAsm.cpp [llvm] Use range-based for loops (NFC) 2021-11-25 08:55:16 -08:00
ByteStreamer.h [DwarfDebug] Restore code that make comments stay aligned in DwarfDebug::emitDebugLocEntry 2022-01-18 09:46:03 +01:00
CMakeLists.txt
CodeViewDebug.cpp Add Rust to CodeView SourceLanguage (CV_CFL_LANG) enum 2022-01-06 14:27:08 -08:00
CodeViewDebug.h Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
DIE.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DIEHash.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DIEHash.h DebugInfo: Don't hash DIE offsets before they're computed 2021-12-25 16:09:12 -08:00
DIEHashAttributes.def
DbgEntityHistoryCalculator.cpp [llvm] Use llvm::reverse (NFC) 2021-11-06 19:31:18 -07:00
DebugHandlerBase.cpp [llvm] Add support for DW_TAG_immutable_type 2022-01-05 19:17:08 +00:00
DebugLocEntry.h [AsmPrinter] DebugLocEntry::dump() - Use const-ref iterator in for-range loop. NFCI. 2021-09-17 12:11:54 +01:00
DebugLocStream.cpp
DebugLocStream.h
DwarfCFIException.cpp [MCAsmInfo] Support UsesCFIForDebug for targets with no exception handling 2021-05-06 04:53:45 +05:30
DwarfCompileUnit.cpp [DebugInfo] Avoid triggering global location assert for 2-byte pointer sizes. 2022-01-04 15:16:36 -05:00
DwarfCompileUnit.h Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
DwarfDebug.cpp [DwarfDebug] Restore code that make comments stay aligned in DwarfDebug::emitDebugLocEntry 2022-01-18 09:46:03 +01:00
DwarfDebug.h Revert "[DWARF] Fix PR51087 Extraneous enum record in DWARF with type units" 2021-12-23 20:50:30 -08:00
DwarfException.h [NFC] Delete the redundant member 'shouldEmitMoves' from DwarfCFIException class 2021-04-24 06:35:39 +05:30
DwarfExpression.cpp [DwarfDebug] Refuse to emit DW_OP_LLVM_arg values wider than 64 bits 2021-12-10 09:33:27 -08:00
DwarfExpression.h [DwarfDebug] Refuse to emit DW_OP_LLVM_arg values wider than 64 bits 2021-12-10 09:33:27 -08:00
DwarfFile.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DwarfFile.h Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches 2021-12-24 00:47:04 +02:00
DwarfStringPool.cpp
DwarfStringPool.h
DwarfUnit.cpp [CodeGen][Debuginfo][NFC] Refactor DIE values SizeOf method to not depend on AsmPrinter. 2022-01-12 13:15:26 +03:00
DwarfUnit.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
EHStreamer.cpp [llvm] Use range-based for loops (NFC) 2021-11-28 18:14:49 -08:00
EHStreamer.h
ErlangGCPrinter.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
OcamlGCPrinter.cpp [llvm] Use range-based for loops (NFC) 2021-12-05 08:33:02 -08:00
PseudoProbePrinter.cpp [llvm] Construct SmallVector with iterator ranges (NFC) 2021-12-20 23:43:24 -08:00
PseudoProbePrinter.h [llvm] Remove unused forward declarations (NFC) 2022-01-07 20:00:34 -08:00
WasmException.cpp [WebAssembly] Make EH work with dynamic linking 2021-10-12 23:28:27 -07:00
WasmException.h
WinCFGuard.cpp [llvm] Remove redundant member initialization (NFC) 2022-01-07 17:45:09 -08:00
WinCFGuard.h
WinException.cpp Fix SEH table addresses for Windows 2021-08-20 22:32:12 +03:00
WinException.h Fix SEH table addresses for Windows 2021-08-20 22:32:12 +03:00