summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2018-07-18 15:50:24 +0000
committerStella Stamenova <stilis@microsoft.com>2018-07-18 15:50:24 +0000
commit30ef2c977691123821092cf52cc026940de5a42f (patch)
treec6555bb01a351c3480bdee0c15b05b1125c99e04
parent5fae5726d5c7db4e2f364710a3863814c177b442 (diff)
Fix variables.test after D49018
Summary: This one fixes variables.test after D49018. The test was broken because D49018 adds a location information to variables, but I hadn't noticed that, because I used 32-bit build to run tests, so the test looked to me already broken before that commit (the test relies on mangled names, but the mangling schemes are different for 32-bit and 64-bit). Reviewers: stella.stamenova, lldb-commits Reviewed By: stella.stamenova Patch By: Aleksandr Urakov Differential Revision: https://reviews.llvm.org/D49475 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@337397 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lit/SymbolFile/PDB/variables.test14
1 files changed, 7 insertions, 7 deletions
diff --git a/lit/SymbolFile/PDB/variables.test b/lit/SymbolFile/PDB/variables.test
index 9e108e55e..6d37cd975 100644
--- a/lit/SymbolFile/PDB/variables.test
+++ b/lit/SymbolFile/PDB/variables.test
@@ -7,19 +7,19 @@ CHECK: Module [[MOD:.*]]
CHECK: SymbolVendor ([[MOD]])
CHECK: CompileUnit{{.*}}, language = "c++", file = '{{.*}}\VariablesTest.cpp'
CHECK-DAG: Variable{{.*}}, name = "g_IntVar"
-CHECK-SAME: scope = global, external
+CHECK-SAME: scope = global, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "m_StaticClassMember"
-CHECK-SAME: scope = global, external
+CHECK-SAME: scope = global, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "g_pConst"
-CHECK-SAME: scope = global, external
+CHECK-SAME: scope = global, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "same_name_var"
-CHECK-SAME: scope = global, external
+CHECK-SAME: scope = global, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "g_EnumVar"
-CHECK-SAME: scope = global, external
+CHECK-SAME: scope = global, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "g_tls"
-CHECK-SAME: scope = thread local, external
+CHECK-SAME: scope = thread local, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "ClassVar"
-CHECK-SAME: scope = global, external
+CHECK-SAME: scope = global, location = {{.*}}, external
CHECK-DAG: Variable{{.*}}, name = "g_Const"
CHECK-SAME: scope = ??? (2)