Author: Adrian Prantl
Date: 2020-07-22T11:01:25-07:00
New Revision: 6dbd4775bf7ab92befb6d359d3bdf82fee285462

URL: 
https://github.com/llvm/llvm-project/commit/6dbd4775bf7ab92befb6d359d3bdf82fee285462
DIFF: 
https://github.com/llvm/llvm-project/commit/6dbd4775bf7ab92befb6d359d3bdf82fee285462.diff

LOG: Fix Windows build

Added: 
    

Modified: 
    lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp 
b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
index 072fe6aaf0f9..63bb6b7c4043 100644
--- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -363,7 +363,7 @@ TEST_F(SymbolFilePDBTests, TestSimpleClassTypes) {
   CompilerType compiler_type = udt_type->GetForwardCompilerType();
   EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType()));
   EXPECT_EQ(GetGlobalConstantInteger(session, "sizeof_Class"),
-            udt_type->GetByteSize());
+            udt_type->GetByteSize(nullptr));
 }
 
 TEST_F(SymbolFilePDBTests, TestNestedClassTypes) {
@@ -417,7 +417,7 @@ TEST_F(SymbolFilePDBTests, TestNestedClassTypes) {
   EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType()));
 
   EXPECT_EQ(GetGlobalConstantInteger(session, "sizeof_NestedClass"),
-            udt_type->GetByteSize());
+            udt_type->GetByteSize(nullptr));
 }
 
 TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
@@ -461,7 +461,7 @@ TEST_F(SymbolFilePDBTests, TestClassInNamespace) {
   EXPECT_TRUE(TypeSystemClang::IsClassType(compiler_type.GetOpaqueQualType()));
 
   EXPECT_EQ(GetGlobalConstantInteger(session, "sizeof_NSClass"),
-            udt_type->GetByteSize());
+            udt_type->GetByteSize(nullptr));
 }
 
 TEST_F(SymbolFilePDBTests, TestEnumTypes) {
@@ -491,7 +491,7 @@ TEST_F(SymbolFilePDBTests, TestEnumTypes) {
     std::string sizeof_var = "sizeof_";
     sizeof_var.append(Enum);
     EXPECT_EQ(GetGlobalConstantInteger(session, sizeof_var),
-              enum_type->GetByteSize());
+              enum_type->GetByteSize(nullptr));
   }
 }
 
@@ -539,7 +539,7 @@ TEST_F(SymbolFilePDBTests, TestTypedefs) {
     std::string sizeof_var = "sizeof_";
     sizeof_var.append(Typedef);
     EXPECT_EQ(GetGlobalConstantInteger(session, sizeof_var),
-              typedef_type->GetByteSize());
+              typedef_type->GetByteSize(nullptr));
   }
 }
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to