llvm-project/llvm/lib/DebugInfo/CodeView
Matheus Izvekov f84c70a379 [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
..
AppendingTypeTableBuilder.cpp
CMakeLists.txt [CMake] Clean up unnecessary dependency 2021-03-15 16:29:16 -07:00
CVSymbolVisitor.cpp
CVTypeVisitor.cpp
CodeViewError.cpp [DebugInfo] Remove unnecessary <string> include dependency from DebugInfo headers. NFC. 2021-07-17 16:56:06 +01:00
CodeViewRecordIO.cpp [CodeView] Saturate values bigger than supported by APInt. 2021-07-26 22:15:26 +02:00
ContinuationRecordBuilder.cpp
DebugChecksumsSubsection.cpp
DebugCrossExSubsection.cpp
DebugCrossImpSubsection.cpp
DebugFrameDataSubsection.cpp [llvm] Use llvm::sort (NFC) 2021-01-17 10:39:45 -08:00
DebugInlineeLinesSubsection.cpp
DebugLinesSubsection.cpp
DebugStringTableSubsection.cpp
DebugSubsection.cpp
DebugSubsectionRecord.cpp
DebugSubsectionVisitor.cpp
DebugSymbolRVASubsection.cpp
DebugSymbolsSubsection.cpp
EnumTables.cpp [COFF] [CodeView] Add a few new enum values 2021-07-07 22:00:18 +03:00
Formatters.cpp [Debug-Info][CodeView] Fix GUID string generation for MSVC generated objects. 2021-06-15 06:53:21 +01:00
GlobalTypeTableBuilder.cpp
LazyRandomTypeCollection.cpp [llvm] Use llvm::lower_bound and llvm::upper_bound (NFC) 2021-01-05 21:15:59 -08:00
Line.cpp
MergingTypeTableBuilder.cpp
RecordName.cpp
RecordSerialization.cpp fix typos to cycle bots 2021-01-01 22:58:40 -05:00
SimpleTypeSerializer.cpp
StringsAndChecksums.cpp
SymbolDumper.cpp
SymbolRecordHelpers.cpp
SymbolRecordMapping.cpp
SymbolSerializer.cpp
TypeDumpVisitor.cpp
TypeHashing.cpp
TypeIndex.cpp
TypeIndexDiscovery.cpp
TypeRecordHelpers.cpp
TypeRecordMapping.cpp [CodeView] Truncate Long Type Names With An MD5 Hash 2021-05-04 10:51:21 -04:00
TypeStreamMerger.cpp fix typos to cycle bots 2021-01-01 22:58:40 -05:00
TypeTableCollection.cpp