diff options
| author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-07-31 19:15:50 +0000 |
|---|---|---|
| committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2018-07-31 19:15:50 +0000 |
| commit | ee8a7200511791158e8c84fa5fc9324a9d23b361 (patch) | |
| tree | 5bb53ef3dfbc91a8249fdaf076d123751d77a052 /llvm/unittests | |
| parent | 9ced1e0d80d432034221c3ff36fdf01a8bcf1aca (diff) | |
| download | bcm5719-llvm-ee8a7200511791158e8c84fa5fc9324a9d23b361.tar.gz bcm5719-llvm-ee8a7200511791158e8c84fa5fc9324a9d23b361.zip | |
[CodeView] Minimal support for S_UNAMESPACE records
Differential Revision: https://reviews.llvm.org/D50007
llvm-svn: 338417
Diffstat (limited to 'llvm/unittests')
| -rw-r--r-- | llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp b/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp index 60ca56b0d14..7ee56042f4b 100644 --- a/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp +++ b/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp @@ -600,4 +600,11 @@ TEST_F(TypeIndexIteratorTest, VariableSizeIntegers) { BaseClassRecord BaseClass2(MemberAccess::Public, TypeIndex(48), 1); writeFieldList(BaseClass1, BaseClass2); checkTypeReferences(0, TypeIndex(47), TypeIndex(48)); -}
\ No newline at end of file +} + +TEST_F(TypeIndexIteratorTest, UsingNamespace) { + UsingNamespaceSym UN(SymbolRecordKind::UsingNamespaceSym); + UN.Name = "std"; + writeSymbolRecords(UN); + checkTypeReferences(0); +} |

