llvm-project/llvm/lib/CodeGen/AsmPrinter
David Blaikie f69f23396d Revert "DebugInfo: Don't put types in type units if they reference internal linkage types"
This reverts commit ab4756338c.

Breaks some cases, including this:

namespace {
template <typename> struct a {};
} // namespace
class c {
  c();
};
class b {
  b();
  a<c> ax;
};
b::b() {}
c::c() {}

By producing a reference to a type unit for "c" but not producing the type unit.
2022-02-01 16:13:07 -08:00
..
AIXException.cpp [PowerPC][AIX] Override markFunctionEnd() 2022-01-25 10:08:53 -05: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] Emit COFF symbol type for function aliases 2022-01-28 13:06:16 +02: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 [clang-cl] Support the /HOTPATCH flag 2022-01-20 12:57:19 -05:00
CodeViewDebug.h Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
DIE.cpp [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08: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 [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
DwarfCompileUnit.cpp [Dwarf] Optimize getOrCreateSourceID() for repeated calls on same file (NFCI) 2022-01-25 09:27:11 +01:00
DwarfCompileUnit.h [Dwarf] Optimize getOrCreateSourceID() for repeated calls on same file (NFCI) 2022-01-25 09:27:11 +01:00
DwarfDebug.cpp Revert "DebugInfo: Don't put types in type units if they reference internal linkage types" 2022-02-01 16:13:07 -08:00
DwarfDebug.h Revert "DebugInfo: Don't put types in type units if they reference internal linkage types" 2022-02-01 16:13:07 -08:00
DwarfException.h [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -08:00
DwarfExpression.cpp Fix a fragment overflow problem when composing super-registers. 2022-01-31 09:47:29 -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 Revert "DebugInfo: Don't put types in type units if they reference internal linkage types" 2022-02-01 16:13:07 -08:00
DwarfUnit.h [CodeGen] Use default member initialization (NFC) 2022-01-30 12:32:51 -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