llvm-project/llvm/lib/DebugInfo/CodeView
CarlosAlbertoEnciso d0a5d86119 [Debug-Info][CodeView] Fix GUID string generation for MSVC generated objects.
This patch is to address https://bugs.llvm.org/show_bug.cgi?id=50459.
  YAML:455:28: error: GUID strings are 38 characters long

The valid format for a GUID is {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
where X is a hex digit (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
The length of the individual components must be: 8, 4, 4, 4, 12.

For some cases, the converted string generated by obj2yaml, does not
comply with those lengths. yaml2obj checks that the GUID string must
be 38 characters including the dashes and braces.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D103089
2021-06-15 06:53:21 +01:00
..
AppendingTypeTableBuilder.cpp
CMakeLists.txt [CMake] Clean up unnecessary dependency 2021-03-15 16:29:16 -07:00
CVSymbolVisitor.cpp
CVTypeVisitor.cpp
CodeViewError.cpp
CodeViewRecordIO.cpp Recommit "[CodeView] Emit static data members as S_CONSTANTs." 2020-10-28 16:35:59 -07: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 [CodeView] Fix the ARM64 CPUType enum 2021-04-13 12:54:22 +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 Re-land "[PDB] Merge types in parallel when using ghashing" 2020-09-30 15:44:38 -07:00
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