[lld] r336423 - dos2unix
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 6 01:44:04 PDT 2018
Author: hans
Date: Fri Jul 6 01:44:04 2018
New Revision: 336423
URL: http://llvm.org/viewvc/llvm-project?rev=336423&view=rev
Log:
dos2unix
Modified:
lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision.test
lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision2.test
lld/trunk/test/COFF/pdb-globals-dia-vfunc-simple.test
Modified: lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision.test?rev=336423&r1=336422&r2=336423&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision.test (original)
+++ lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision.test Fri Jul 6 01:44:04 2018
@@ -1,42 +1,42 @@
-REQUIRES: diasdk
-
-Input object file reconstruction:
-
-; // main.cpp
-; struct S {
-; // Function names are chosen specifically to generate hash collisions in the
-; // GSI hash table.
-; virtual int A307() { return 102; }
-; virtual int A400() { return 12; }
-; virtual int A206() { return 201; }
-; virtual int A105() { return 300; }
-; };
-;
-; struct T : public S {
-; int A105() override { return 300; }
-; int A307() override { return 102; }
-; int A206() override { return 201; }
-; int A400() override { return 12; }
-; };
-;
-; int main(int argc, char **argv) {
-; T s;
-; return s.A105() + s.A206() + s.A307() + s.A400();
-; }
-
-clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision.obj
-
-RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-collision.obj
-RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
-
-CHECK: struct T
-CHECK: func [0x000010c0+ 0 - 0x000010dd-29 | sizeof= 29] (FPO) virtual int __cdecl A105()
-CHECK: func [0x00001100+ 0 - 0x0000111b-27 | sizeof= 27] (FPO) virtual int __cdecl A307()
-CHECK: func [0x000010e0+ 0 - 0x000010fd-29 | sizeof= 29] (FPO) virtual int __cdecl A206()
-CHECK: func [0x00001120+ 0 - 0x0000113b-27 | sizeof= 27] (FPO) virtual int __cdecl A400()
-
-CHECK: struct S
-CHECK: func [0x00001160+ 0 - 0x0000116c-12 | sizeof= 12] (FPO) virtual int __cdecl A307()
-CHECK: func [0x00001170+ 0 - 0x0000117c-12 | sizeof= 12] (FPO) virtual int __cdecl A400()
-CHECK: func [0x00001180+ 0 - 0x0000118c-12 | sizeof= 12] (FPO) virtual int __cdecl A206()
-CHECK: func [0x00001190+ 0 - 0x0000119c-12 | sizeof= 12] (FPO) virtual int __cdecl A105()
+REQUIRES: diasdk
+
+Input object file reconstruction:
+
+; // main.cpp
+; struct S {
+; // Function names are chosen specifically to generate hash collisions in the
+; // GSI hash table.
+; virtual int A307() { return 102; }
+; virtual int A400() { return 12; }
+; virtual int A206() { return 201; }
+; virtual int A105() { return 300; }
+; };
+;
+; struct T : public S {
+; int A105() override { return 300; }
+; int A307() override { return 102; }
+; int A206() override { return 201; }
+; int A400() override { return 12; }
+; };
+;
+; int main(int argc, char **argv) {
+; T s;
+; return s.A105() + s.A206() + s.A307() + s.A400();
+; }
+
+clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision.obj
+
+RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-collision.obj
+RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
+
+CHECK: struct T
+CHECK: func [0x000010c0+ 0 - 0x000010dd-29 | sizeof= 29] (FPO) virtual int __cdecl A105()
+CHECK: func [0x00001100+ 0 - 0x0000111b-27 | sizeof= 27] (FPO) virtual int __cdecl A307()
+CHECK: func [0x000010e0+ 0 - 0x000010fd-29 | sizeof= 29] (FPO) virtual int __cdecl A206()
+CHECK: func [0x00001120+ 0 - 0x0000113b-27 | sizeof= 27] (FPO) virtual int __cdecl A400()
+
+CHECK: struct S
+CHECK: func [0x00001160+ 0 - 0x0000116c-12 | sizeof= 12] (FPO) virtual int __cdecl A307()
+CHECK: func [0x00001170+ 0 - 0x0000117c-12 | sizeof= 12] (FPO) virtual int __cdecl A400()
+CHECK: func [0x00001180+ 0 - 0x0000118c-12 | sizeof= 12] (FPO) virtual int __cdecl A206()
+CHECK: func [0x00001190+ 0 - 0x0000119c-12 | sizeof= 12] (FPO) virtual int __cdecl A105()
Modified: lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision2.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision2.test?rev=336423&r1=336422&r2=336423&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision2.test (original)
+++ lld/trunk/test/COFF/pdb-globals-dia-vfunc-collision2.test Fri Jul 6 01:44:04 2018
@@ -1,25 +1,25 @@
-REQUIRES: diasdk
-
-Input object file reconstruction:
-
-; // main.cpp
-; struct S {
-; // Function names are chosen specifically to generate hash collisions in the
-; // GSI hash table.
-; virtual int A132() { return 102; }
-; virtual int A1001() { return 300; }
-; };
-;
-; int main(int argc, char **argv) {
-; S s;
-; return s.A132();
-; }
-
-clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision2.obj
-
-RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-collision2.obj
-RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
-
-CHECK: struct S
-CHECK: func [0x00001060+ 0 - 0x0000106c-12 | sizeof= 12] (FPO) virtual int __cdecl A132()
-CHECK: func [0x00001070+ 0 - 0x0000107c-12 | sizeof= 12] (FPO) virtual int __cdecl A1001()
+REQUIRES: diasdk
+
+Input object file reconstruction:
+
+; // main.cpp
+; struct S {
+; // Function names are chosen specifically to generate hash collisions in the
+; // GSI hash table.
+; virtual int A132() { return 102; }
+; virtual int A1001() { return 300; }
+; };
+;
+; int main(int argc, char **argv) {
+; S s;
+; return s.A132();
+; }
+
+clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision2.obj
+
+RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-collision2.obj
+RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
+
+CHECK: struct S
+CHECK: func [0x00001060+ 0 - 0x0000106c-12 | sizeof= 12] (FPO) virtual int __cdecl A132()
+CHECK: func [0x00001070+ 0 - 0x0000107c-12 | sizeof= 12] (FPO) virtual int __cdecl A1001()
Modified: lld/trunk/test/COFF/pdb-globals-dia-vfunc-simple.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-globals-dia-vfunc-simple.test?rev=336423&r1=336422&r2=336423&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-globals-dia-vfunc-simple.test (original)
+++ lld/trunk/test/COFF/pdb-globals-dia-vfunc-simple.test Fri Jul 6 01:44:04 2018
@@ -1,26 +1,26 @@
-REQUIRES: diasdk
-
-Input object file reconstruction:
-
-; // main.cpp
-; struct Base {
-; virtual int V2() { return 42; }
-; };
-;
-; struct Derived : public Base {
-; int V2() override { return 42; }
-; };
-;
-; int main()
-; {
-; Derived D;
-; return D.V2();
-; }
-
-clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-simple.obj
-
-RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-simple.obj
-RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
-
-CHECK: func [0x00001070+ 0 - 0x0000107c-12 | sizeof= 12] (FPO) virtual int __cdecl V2()
-CHECK: func [0x000010a0+ 0 - 0x000010ac-12 | sizeof= 12] (FPO) virtual int __cdecl V2()
+REQUIRES: diasdk
+
+Input object file reconstruction:
+
+; // main.cpp
+; struct Base {
+; virtual int V2() { return 42; }
+; };
+;
+; struct Derived : public Base {
+; int V2() override { return 42; }
+; };
+;
+; int main()
+; {
+; Derived D;
+; return D.V2();
+; }
+
+clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-simple.obj
+
+RUN: lld-link /debug /nodefaultlib /entry:main /out:%t.exe %S/Inputs/globals-dia-vfunc-simple.obj
+RUN: llvm-pdbutil pretty -classes %t.pdb | FileCheck %s
+
+CHECK: func [0x00001070+ 0 - 0x0000107c-12 | sizeof= 12] (FPO) virtual int __cdecl V2()
+CHECK: func [0x000010a0+ 0 - 0x000010ac-12 | sizeof= 12] (FPO) virtual int __cdecl V2()
More information about the llvm-commits
mailing list