1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/lib/CodeGen/AsmPrinter
Jeremy Morse fa3a9f0fc7 Revert sharing subprograms across CUs
This patch is a revert of e08f205f5c2c. In that patch, DW_TAG_subprograms
were permitted to be referenced across CU boundaries, to improve stack
trace construction using call site information. Unfortunately, as
documented in PR48790, the way that subprograms are "owned" by dwarf units
is sufficiently complicated that subprograms end up in unexpected units,
invalidating cross-unit references.

There's no obvious way to easily fix this, and several attempts have
failed. Revert this to ensure correct DWARF is always emitted.

Three tests change in addition to the reversion, but they're all very
light alterations.

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

(cherry picked from commit d4ce9e463d51b18547dbd181884046abf77c5c91)
Signed-off-by: Jeremy Morse <jeremy.morse@sony.com>

Conflicts:
	llvm/test/DebugInfo/X86/convert-loclist.ll
2021-08-23 11:18:57 -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
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 [NFC] Refactor how CFI section types are represented in AsmPrinter 2021-04-28 09:04:04 +05:30
AsmPrinter.cpp [CSSPGO] Do not import pseudo probe desc in thinLTO 2021-07-13 18:26:36 -07:00
AsmPrinterDwarf.cpp Implement DW_CFA_LLVM_* for Heterogeneous Debugging 2021-06-14 08:51:50 +05:30
AsmPrinterInlineAsm.cpp [clang] Use i64 for the !srcloc metadata on asm IR nodes. 2021-07-22 10:24:52 +01:00
ByteStreamer.h [AsmPrinter] Rename ByteStreamer::EmitInt8 to emitInt8 2020-11-06 20:02:56 -08:00
CMakeLists.txt [CSSPGO] Pseudo probe encoding and emission. 2020-12-10 17:29:28 -08:00
CodeViewDebug.cpp [CodeView] Saturate values bigger than supported by APInt. 2021-07-26 22:15:26 +02:00
CodeViewDebug.h [CodeView] Saturate values bigger than supported by APInt. 2021-07-26 22:15:26 +02:00
DbgEntityHistoryCalculator.cpp Reapply "[DebugInfo] Add DWARF emission for DBG_VALUE_LIST" 2021-03-10 15:59:24 +00:00
DebugHandlerBase.cpp Resubmit D85085 after fixing the tests that were failing. 2021-06-01 21:59:47 -07:00
DebugLocEntry.h Partial Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands" 2021-06-24 09:46:38 +01:00
DebugLocStream.cpp
DebugLocStream.h
DIE.cpp DebugInfo: Add a DWARF FORM extension for addrx+offset references to reduce relocations 2021-01-28 10:20:02 -08:00
DIEHash.cpp DebugInfo: Add a DWARF FORM extension for addrx+offset references to reduce relocations 2021-01-28 10:20:02 -08: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
DwarfCFIException.cpp [MCAsmInfo] Support UsesCFIForDebug for targets with no exception handling 2021-05-06 04:53:45 +05:30
DwarfCompileUnit.cpp Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
DwarfCompileUnit.h Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
DwarfDebug.cpp Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
DwarfDebug.h Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
DwarfException.h [NFC] Delete the redundant member 'shouldEmitMoves' from DwarfCFIException class 2021-04-24 06:35:39 +05:30
DwarfExpression.cpp Fix unused lambda capture in a non-asserts build 2021-03-11 00:22:18 -08:00
DwarfExpression.h Fix unused lambda capture in a non-asserts build 2021-03-11 00:22:18 -08: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
DwarfUnit.cpp Revert sharing subprograms across CUs 2021-08-23 11:18:57 -07:00
DwarfUnit.h PR37255: DebugInfo: LTO with -g inlined into -gmlt combined with Split DWARF without CU cross-references 2021-06-27 14:40:38 -07:00
EHStreamer.cpp [AsmPrinter] Use range-based for loops (NFC) 2021-02-10 20:01:22 -08:00
EHStreamer.h Exception support for basic block sections 2020-09-30 11:05:55 -07:00
ErlangGCPrinter.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
OcamlGCPrinter.cpp [GC][NFC] Move GCStrategy from CodeGen to IR 2021-05-13 12:31:59 +07:00
PseudoProbePrinter.cpp [CSSPGO] Do not import pseudo probe desc in thinLTO 2021-07-13 18:26:36 -07:00
PseudoProbePrinter.h [CSSPGO] Do not import pseudo probe desc in thinLTO 2021-07-13 18:26:36 -07:00
WasmException.cpp [WebAssembly] Remove exnref and br_on_exn 2021-01-09 02:02:54 -08:00
WasmException.h Exception support for basic block sections 2020-09-30 11:05:55 -07:00
WinCFGuard.cpp [CodeGen] Use llvm::append_range (NFC) 2020-12-28 19:55:16 -08:00
WinCFGuard.h [CFGuard] Add address-taken IAT tables and delay-load support 2020-11-17 18:24:45 -08:00
WinException.cpp Add ehcont section support 2021-02-15 14:27:12 +08:00
WinException.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00