1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/CodeGen/AsmPrinter
Matheus Izvekov 33d35b0a79 [CodeView] Saturate values bigger than supported by APInt.
This fixes an assert firing when compiling code which involves 128 bit
integrals.

This would trigger runtime checks similar to this:
```
Assertion failed: getMinSignedBits() <= 64 && "Too many bits for int64_t", file llvm/include/llvm/ADT/APInt.h, line 1646
```

To get around this, we just saturate those big values.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D105320
2021-07-26 22:15:26 +02: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 [Debug-Info][NFC] add a wrapper for Die.addValue 2021-05-07 07:24:09 +00:00
DwarfCompileUnit.h
DwarfDebug.cpp [NFC] Fix a few whitespace issues and typos. 2021-07-04 11:49:58 +01:00
DwarfDebug.h [DebuggerTuning] Move a comment to a more useful place. 2021-05-03 11:08:04 -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 [Debug-Info][llvm-dwarfdump] Don't use DW_FORM_data4/8 2021-07-26 03:47:02 +00: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