1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +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
AddressPool.cpp
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
CMakeLists.txt
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
DIEHash.cpp
DIEHash.h
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
DwarfStringPool.cpp
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
EHStreamer.h
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
WasmException.h
WinCFGuard.cpp
WinCFGuard.h
WinException.cpp
WinException.h [ADT] Move DenseMapInfo for ArrayRef/StringRef into respective headers (NFC) 2021-06-03 18:34:36 +02:00