[lld] Fixed CodeView GuidAdapter::format to handle GUID bytes in the right order.

This fixes https://bugs.llvm.org/show_bug.cgi?id=41712 bug.

Reviewed By: aganea

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

GitOrigin-RevId: f47a4c071376c32d970bb26fbfca5a2fb08c164e
diff --git a/test/COFF/Inputs/pdb-type-server-invalid-path.yaml b/test/COFF/Inputs/pdb-type-server-invalid-path.yaml
index 9e485ff..5bcc71e 100644
--- a/test/COFF/Inputs/pdb-type-server-invalid-path.yaml
+++ b/test/COFF/Inputs/pdb-type-server-invalid-path.yaml
@@ -68,7 +68,7 @@
     Types:
       - Kind:            LF_TYPESERVER2
         TypeServer2:
-          Guid:            '{8DABD2A0-28FF-CB43-9BAF-175B77B76414}'
+          Guid:            '{A0D2AB8D-FF28-43CB-9BAF-175B77B76414}'
           Age:             1
           Name:            'c:\some_invalid_path_AABB98765\pdb-diff-cl.pdb'
   - Name:            '.text$mn'
diff --git a/test/COFF/Inputs/pdb-type-server-missing-2.yaml b/test/COFF/Inputs/pdb-type-server-missing-2.yaml
index e71bcec..8d9bb81 100644
--- a/test/COFF/Inputs/pdb-type-server-missing-2.yaml
+++ b/test/COFF/Inputs/pdb-type-server-missing-2.yaml
@@ -9,7 +9,7 @@
     Types:
       - Kind:            LF_TYPESERVER2
         TypeServer2:
-          Guid:            '{01DF191B-22BF-6B42-96CE-5258B8329FE5}'
+          Guid:            '{1B19DF01-BF22-426B-96CE-5258B8329FE5}'
           Age:             18
           Name:            'C:\src\llvm-project\build\definitely_not_found_for_sure.pdb'
   - Name:            '.text$mn'
diff --git a/test/COFF/Inputs/pdb-type-server-valid-signature.yaml b/test/COFF/Inputs/pdb-type-server-valid-signature.yaml
index dd95a3d..c13e270 100644
--- a/test/COFF/Inputs/pdb-type-server-valid-signature.yaml
+++ b/test/COFF/Inputs/pdb-type-server-valid-signature.yaml
@@ -68,7 +68,7 @@
     Types:
       - Kind:            LF_TYPESERVER2
         TypeServer2:
-          Guid:            '{8DABD2A0-28FF-CB43-9BAF-175B77B76414}'
+          Guid:            '{A0D2AB8D-FF28-43CB-9BAF-175B77B76414}'
           Age:             18
           Name:            'pdb-diff-cl.pdb'
   - Name:            '.text$mn'
diff --git a/test/COFF/pdb-type-server-invalid-signature.yaml b/test/COFF/pdb-type-server-invalid-signature.yaml
index de8cb46..4571329 100644
--- a/test/COFF/pdb-type-server-invalid-signature.yaml
+++ b/test/COFF/pdb-type-server-invalid-signature.yaml
@@ -95,7 +95,7 @@
     Types:
       - Kind:            LF_TYPESERVER2
         TypeServer2:
-          Guid:            '{01DF191B-22BF-6B42-96CE-5258B8329FE5}'
+          Guid:            '{1B19DF01-BF22-426B-96CE-5258B8329FE5}'
           Age:             18
           Name:            'pdb-diff-cl.pdb'
   - Name:            '.text$mn'
diff --git a/test/COFF/pdb-type-server-missing.yaml b/test/COFF/pdb-type-server-missing.yaml
index 70e638b..5f70205 100644
--- a/test/COFF/pdb-type-server-missing.yaml
+++ b/test/COFF/pdb-type-server-missing.yaml
@@ -92,7 +92,7 @@
     Types:
       - Kind:            LF_TYPESERVER2
         TypeServer2:
-          Guid:            '{01DF191B-22BF-6B42-96CE-5258B8329FE5}'
+          Guid:            '{1B19DF01-BF22-426B-96CE-5258B8329FE5}'
           Age:             18
           Name:            'C:\src\llvm-project\build\definitely_not_found_for_sure.pdb'
   - Name:            '.text$mn'
diff --git a/test/COFF/pdb-type-server-native-errors.yaml b/test/COFF/pdb-type-server-native-errors.yaml
index bc86541..7b5e393 100644
--- a/test/COFF/pdb-type-server-native-errors.yaml
+++ b/test/COFF/pdb-type-server-native-errors.yaml
@@ -77,7 +77,7 @@
     Types:
       - Kind:            LF_TYPESERVER2
         TypeServer2:
-          Guid:            '{01DF191B-22BF-6B42-96CE-5258B8329FE5}'
+          Guid:            '{1B19DF01-BF22-426B-96CE-5258B8329FE5}'
           Age:             18
           Name:            'bad-block-size.pdb'
   - Name:            '.text$mn'