Lines Matching +full:lldb +full:- +full:build

7 import lldb
44 @unittest.expectedFailure # CU-local objects incorrectly scoped
46 """Test scope lookup of functions in lldb."""
47 self.build()
50 self, self.line_break_global_scope, lldb.SBFileSpec("ns.cpp")
72 # FIXME: LLDB does not correctly scope CU-local objects.
73 # LLDB currently lumps functions from all files into
75 # functions are considered, LLDB can incorrectly call
79 # Evaluate func() - should call ::func()
82 # Evaluate ::func() - should call A::func()
88 # Evaluate func() - should call ::func()
91 # Evaluate ::func() - should call ::func()
97 # Evaluate ::func() - should call ::func()
102 """Test scope lookup of functions in lldb."""
103 self.build()
159 # Evaluate A::B::func() - should call A::B::func()
161 # Evaluate func(10) - should call ::func(int)
163 # Evaluate A::foo() - should call A::foo()
178 # Evaluate func(10) - should call A::func(int)
180 # Evaluate B::func() - should call B::func()
182 # Evaluate func() - should call A::func()
187 # Evaluate func() - should call A::B::func()
189 # Evaluate A::func() - should call A::func()
192 # Evaluate func(10) - should call A::func(10)
194 # because A::B::func() hides A::func(), but lldb intentionally
202 # Evaluate A::func(10) - should call A::func(int)
208 # Evaluate B::func() - should call B::func()
214 # Evaluate B::func() - should call B::func()
217 @unittest.expectedFailure # lldb scope lookup of functions bugs
219 """Test scope lookup of functions in lldb."""
220 self.build()
240 # Evaluate foo() - should call ::foo()
241 # FIXME: lldb finds Y::foo because lookup for variables is done
244 # Evaluate ::foo() - should call ::foo()
245 # FIXME: lldb finds Y::foo because lookup for variables is done
251 # Evaluate foo() - should call A::foo()
252 # FIXME: lldb finds Y::foo because lookup for variables is done
257 # entries in DWARF - may need to add checks for compiler versions here.
260 """Test scope lookup after using directive in lldb."""
261 self.build()
275 # Evaluate func2() - should call A::func2()
278 @unittest.expectedFailure # lldb scope lookup after using declaration bugs
280 # emtries in DWARF - may need to add checks for compiler versions here.
282 """Test scope lookup after using declaration in lldb."""
283 self.build()
297 # Evaluate func() - should call A::func()
300 @unittest.expectedFailure # lldb scope lookup ambiguity after using bugs
302 """Test scope lookup ambiguity after using in lldb."""
303 self.build()
317 # Evaluate func() - should get error: ambiguous
318 # FIXME: This test fails because lldb removes duplicates if they have
320 self.expect("expr -- func()", startstr="error")
323 """Test scope lookup shadowed by using in lldb."""
324 self.build()
337 # Evaluate func(10) - should call A::func(10)
339 # because A::B::func() shadows A::func(), but lldb intentionally