[lld] r333425 - [COFF] Update CV register names.
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Tue May 29 07:58:42 PDT 2018
Author: jdevlieghere
Date: Tue May 29 07:58:41 2018
New Revision: 333425
URL: http://llvm.org/viewvc/llvm-project?rev=333425&view=rev
Log:
[COFF] Update CV register names.
Update tests to use the new prefix for CodeView registers added in
r333421.
Modified:
lld/trunk/test/COFF/Inputs/pdb-file-statics-a.yaml
lld/trunk/test/COFF/Inputs/pdb-file-statics-b.yaml
lld/trunk/test/COFF/Inputs/pdb-scopes-a.yaml
lld/trunk/test/COFF/Inputs/pdb-scopes-b.yaml
lld/trunk/test/COFF/Inputs/pdb-type-server-simple-a.yaml
lld/trunk/test/COFF/Inputs/pdb-type-server-simple-b.yaml
lld/trunk/test/COFF/pdb-heapsite.yaml
lld/trunk/test/COFF/pdb-thunk.yaml
lld/trunk/test/COFF/pdb-type-server-simple.test
Modified: lld/trunk/test/COFF/Inputs/pdb-file-statics-a.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-file-statics-a.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-file-statics-a.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-file-statics-a.yaml Tue May 29 07:58:41 2018
@@ -1353,7 +1353,7 @@ sections:
RegRelativeSym:
Offset: 48
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: __formal
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -1528,13 +1528,13 @@ sections:
RegRelativeSym:
Offset: 48
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: argc
- Kind: S_REGREL32
RegRelativeSym:
Offset: 56
Type: 4098
- Register: RSP
+ Register: CVRegRSP
VarName: argv
- Kind: S_PROC_ID_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/Inputs/pdb-file-statics-b.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-file-statics-b.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-file-statics-b.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-file-statics-b.yaml Tue May 29 07:58:41 2018
@@ -1328,7 +1328,7 @@ sections:
RegRelativeSym:
Offset: 48
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: __formal
- Kind: S_PROC_ID_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/Inputs/pdb-scopes-a.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-scopes-a.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-scopes-a.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-scopes-a.yaml Tue May 29 07:58:41 2018
@@ -53,7 +53,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: x
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -93,7 +93,7 @@ sections:
RegRelativeSym:
Offset: 64
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: argc
- Kind: S_BLOCK32
BlockSym:
@@ -104,7 +104,7 @@ sections:
RegRelativeSym:
Offset: 32
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: x
- Kind: S_END
ScopeEndSym:
@@ -117,7 +117,7 @@ sections:
RegRelativeSym:
Offset: 36
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: y
- Kind: S_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/Inputs/pdb-scopes-b.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-scopes-b.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-scopes-b.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-scopes-b.yaml Tue May 29 07:58:41 2018
@@ -53,7 +53,7 @@ sections:
RegRelativeSym:
Offset: 64
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: x
- Kind: S_BLOCK32
BlockSym:
@@ -64,7 +64,7 @@ sections:
RegRelativeSym:
Offset: 32
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: y
- Kind: S_END
ScopeEndSym:
@@ -77,7 +77,7 @@ sections:
RegRelativeSym:
Offset: 36
Type: 116
- Register: RSP
+ Register: CVRegRSP
VarName: w
- Kind: S_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/Inputs/pdb-type-server-simple-a.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-type-server-simple-a.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-type-server-simple-a.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-type-server-simple-a.yaml Tue May 29 07:58:41 2018
@@ -53,7 +53,7 @@ sections:
RegRelativeSym:
Offset: 32
Type: 4102
- Register: RSP
+ Register: CVRegRSP
VarName: f
- Kind: S_PROC_ID_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/Inputs/pdb-type-server-simple-b.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-type-server-simple-b.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-type-server-simple-b.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-type-server-simple-b.yaml Tue May 29 07:58:41 2018
@@ -53,7 +53,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 4097
- Register: RSP
+ Register: CVRegRSP
VarName: p
- Kind: S_PROC_ID_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/pdb-heapsite.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-heapsite.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-heapsite.yaml (original)
+++ lld/trunk/test/COFF/pdb-heapsite.yaml Tue May 29 07:58:41 2018
@@ -69,7 +69,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 35
- Register: RSP
+ Register: CVRegRSP
VarName: __formal
- Kind: S_PROC_ID_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/pdb-thunk.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-thunk.yaml?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-thunk.yaml (original)
+++ lld/trunk/test/COFF/pdb-thunk.yaml Tue May 29 07:58:41 2018
@@ -84,7 +84,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 4097
- Register: RSP
+ Register: CVRegRSP
VarName: this
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -124,7 +124,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 4121
- Register: RSP
+ Register: CVRegRSP
VarName: this
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -164,7 +164,7 @@ sections:
RegRelativeSym:
Offset: 48
Type: 4143
- Register: RSP
+ Register: CVRegRSP
VarName: this
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -208,7 +208,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 4143
- Register: RSP
+ Register: CVRegRSP
VarName: this
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -2176,7 +2176,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 4097
- Register: RSP
+ Register: CVRegRSP
VarName: this
- Kind: S_PROC_ID_END
ScopeEndSym:
@@ -2222,7 +2222,7 @@ sections:
RegRelativeSym:
Offset: 8
Type: 4121
- Register: RSP
+ Register: CVRegRSP
VarName: this
- Kind: S_PROC_ID_END
ScopeEndSym:
Modified: lld/trunk/test/COFF/pdb-type-server-simple.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-type-server-simple.test?rev=333425&r1=333424&r2=333425&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-type-server-simple.test (original)
+++ lld/trunk/test/COFF/pdb-type-server-simple.test Tue May 29 07:58:41 2018
@@ -89,7 +89,7 @@ CHECK: size = 0, padding size
CHECK: bytes of callee saved registers = 0, exception handler addr = 0000:0000
CHECK: flags = has async eh | opt speed
CHECK: 180 | S_REGREL32 [size = 16] `p`
-CHECK: type = [[FOO_PTR]] (Foo*), register = RSP, offset = 8
+CHECK: type = [[FOO_PTR]] (Foo*), register = CVRegRSP, offset = 8
CHECK: 196 | S_END [size = 4]
CHECK: 200 | S_BUILDINFO [size = 8] BuildId = `[[B_BUILD]]`
CHECK-LABEL: Mod 0002 | `* Linker *`:
More information about the llvm-commits
mailing list