[lld] r322040 - Fix newly failing tests.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 8 15:07:39 PST 2018
Author: zturner
Date: Mon Jan 8 15:07:39 2018
New Revision: 322040
URL: http://llvm.org/viewvc/llvm-project?rev=322040&view=rev
Log:
Fix newly failing tests.
These tests started failing because we now properly convert
DefRange records to and from Yaml, but there were some old yaml
files that had incorrect record definitions generated by the
old buggy obj2yaml. Rather than try to re-generate the yaml files,
it's easier to just remove the records, and they weren't necessary
for the proper execution of the test anyway.
Modified:
lld/trunk/test/COFF/Inputs/pdb-globals.yaml
lld/trunk/test/COFF/Inputs/pdb-hashes-1.yaml
lld/trunk/test/COFF/Inputs/pdb-hashes-2-missing.yaml
lld/trunk/test/COFF/Inputs/pdb-hashes-2.yaml
Modified: lld/trunk/test/COFF/Inputs/pdb-globals.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-globals.yaml?rev=322040&r1=322039&r2=322040&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-globals.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-globals.yaml Mon Jan 8 15:07:39 2018
@@ -125,29 +125,21 @@ sections:
Type: 116
Flags: [ IsParameter ]
VarName: argc
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_LOCAL
LocalSym:
Type: 4099
Flags: [ IsParameter ]
VarName: argv
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_LOCAL
LocalSym:
Type: 4103
Flags: [ ]
VarName: P
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_LOCAL
LocalSym:
Type: 116
Flags: [ ]
VarName: N
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_PROC_ID_END
ScopeEndSym:
- Kind: S_LPROC32_ID
@@ -408,8 +400,6 @@ sections:
Type: 4108
Flags: [ IsParameter ]
VarName: this
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_PROC_ID_END
ScopeEndSym:
Relocations:
Modified: lld/trunk/test/COFF/Inputs/pdb-hashes-1.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-hashes-1.yaml?rev=322040&r1=322039&r2=322040&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-hashes-1.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-hashes-1.yaml Mon Jan 8 15:07:39 2018
@@ -99,22 +99,16 @@ sections:
Type: 116
Flags: [ IsParameter ]
VarName: argc
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_LOCAL
LocalSym:
Type: 4096
Flags: [ IsParameter ]
VarName: argv
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_LOCAL
LocalSym:
Type: 4105
Flags: [ ]
VarName: f
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_PROC_ID_END
ScopeEndSym:
- !Lines
@@ -350,15 +344,11 @@ sections:
Type: 4101
Flags: [ IsParameter ]
VarName: this
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_LOCAL
LocalSym:
Type: 116
Flags: [ IsParameter ]
VarName: x
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_PROC_ID_END
ScopeEndSym:
- !Lines
Modified: lld/trunk/test/COFF/Inputs/pdb-hashes-2-missing.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-hashes-2-missing.yaml?rev=322040&r1=322039&r2=322040&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-hashes-2-missing.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-hashes-2-missing.yaml Mon Jan 8 15:07:39 2018
@@ -80,8 +80,6 @@ sections:
Type: 4099
Flags: [ IsParameter ]
VarName: f
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_PROC_ID_END
ScopeEndSym:
- !Lines
Modified: lld/trunk/test/COFF/Inputs/pdb-hashes-2.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/Inputs/pdb-hashes-2.yaml?rev=322040&r1=322039&r2=322040&view=diff
==============================================================================
--- lld/trunk/test/COFF/Inputs/pdb-hashes-2.yaml (original)
+++ lld/trunk/test/COFF/Inputs/pdb-hashes-2.yaml Mon Jan 8 15:07:39 2018
@@ -80,8 +80,6 @@ sections:
Type: 4099
Flags: [ IsParameter ]
VarName: f
- - Kind: S_DEFRANGE_REGISTER_REL
- DefRangeRegisterRelSym:
- Kind: S_PROC_ID_END
ScopeEndSym:
- !Lines
More information about the llvm-commits
mailing list