llvm-project/llvm/lib/CodeGen/AsmPrinter
Jonas Devlieghere 669edb5ce5 [AsmPrinter] Collapse .loc 0 0 directives
Currently we do not always collapse subsequent .loc 0 0 directives. The
reason is that we were checking for a PrevInstLoc which is not set when
we emit a line-0 record. We should only check the LastAsmLine, which
seems to be created exactly for this purpose.

  // When we emit a line-0 record, we don't update PrevInstLoc; so look at
  // the last line number actually emitted, to see if it was line 0.
  unsigned LastAsmLine =
    Asm->OutStreamer->getContext().getCurrentDwarfLoc().getLine();

Differential revision: https://reviews.llvm.org/D56767

llvm-svn: 351395
2019-01-16 23:26:29 +00:00
..
ARMException.cpp Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
AccelTable.cpp DebugInfo: Fix skipping CUs in DWARFv5 debug_names table 2018-08-24 20:31:05 +00:00
AddressPool.cpp Revert rL350048 and rL350050 2018-12-24 10:30:04 +00:00
AddressPool.h Revert rL350048 and rL350050 2018-12-24 10:30:04 +00:00
AsmPrinter.cpp [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
AsmPrinterDwarf.cpp [AArch64] - Return address signing dwarf support 2018-12-18 10:37:42 +00:00
AsmPrinterInlineAsm.cpp [MC] Separate masm integer literal lexer support from inline asm 2018-10-24 20:23:57 +00:00
ByteStreamer.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
CMakeLists.txt Revert "[BTF] Add BTF DebugInfo" 2018-11-30 16:54:43 +00:00
CodeViewDebug.cpp [codeview] Check if this 'this' type of a method is a pointer 2018-12-26 21:52:17 +00:00
CodeViewDebug.h [codeview] Check if this 'this' type of a method is a pointer 2018-12-26 21:52:17 +00:00
DIE.cpp [DebugInfo] Rename EmitDebugThreadLocal back to EmitDebugValue. NFC 2018-11-28 11:48:07 +00:00
DIEHash.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
DIEHash.h Fix -Wdocumentation warning. NFCI. 2018-07-18 09:07:54 +00:00
DIEHashAttributes.def
DbgEntityHistoryCalculator.cpp [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
DebugHandlerBase.cpp [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
DebugLocEntry.h llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-27 02:13:45 +00:00
DebugLocStream.cpp
DebugLocStream.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
DwarfCFIException.cpp Move TargetLoweringObjectFile from CodeGen to Target to fix layering 2018-03-23 23:58:19 +00:00
DwarfCompileUnit.cpp DebugInfo: Move addAddrBase from DwarfUnit to DwarfCompileUnit 2018-12-14 22:34:03 +00:00
DwarfCompileUnit.h [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
DwarfDebug.cpp [AsmPrinter] Collapse .loc 0 0 directives 2019-01-16 23:26:29 +00:00
DwarfDebug.h [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
DwarfException.h Use assembler expressions to lay out the EH LSDA. 2018-02-09 17:00:25 +00:00
DwarfExpression.cpp Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC 2018-10-19 06:12:02 +00:00
DwarfExpression.h [DwarfExpression] Fix a typo in a doxygen comment. NFC. 2018-12-20 00:01:57 +00:00
DwarfFile.cpp Recommit r348806: DebugInfo: Use symbol difference for CU length to simplify assembly reading/editing 2018-12-18 01:06:09 +00:00
DwarfFile.h NFC: DebugInfo: Track the origin CU rather than just the base address for range lists 2018-11-08 00:35:54 +00:00
DwarfStringPool.cpp Use the container form llvm::sort(C, ...) 2018-09-30 22:31:29 +00:00
DwarfStringPool.h [DebugInfo] Reduce debug_str_offsets section size 2018-08-07 09:54:52 +00:00
DwarfUnit.cpp Rename DIFlagFixedEnum to DIFlagEnumClass. NFC 2019-01-08 17:52:29 +00:00
DwarfUnit.h Recommit r348806: DebugInfo: Use symbol difference for CU length to simplify assembly reading/editing 2018-12-18 01:06:09 +00:00
EHStreamer.cpp Reland "[WebAssembly] LSDA info generation" 2018-10-25 23:55:10 +00:00
EHStreamer.h [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
ErlangGCPrinter.cpp [GC] Rename a header for consistency 2018-11-10 16:08:10 +00:00
LLVMBuild.txt
OcamlGCPrinter.cpp [GC] Rename a header for consistency 2018-11-10 16:08:10 +00:00
WasmException.cpp [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
WasmException.h [WebAssembly] Add support for the event section 2018-11-14 02:46:21 +00:00
WinCFGuard.cpp Reland "Emit Function IDs table for Control Flow Guard" 2018-01-09 23:49:30 +00:00
WinCFGuard.h [DebugInfo] Move several private headers to include directory 2018-12-18 23:10:17 +00:00
WinException.cpp [COFF, ARM64] Implement support for SEH extensions __try/__except/__finally 2019-01-16 19:52:59 +00:00
WinException.h [EH] Rename llvm.x86.seh.recoverfp intrinsic to llvm.eh.recoverfp 2019-01-16 00:37:13 +00:00