forked from OSchip/llvm-project
Fix a problem with the const_variables test case (another lldb bug remains)
- make the test case step past the location where 'index' is initialized, otherwise its value cannot be printed (verified gcc 4.6/4.7 and recent clang) - "Couldn't materialize struct" error from LLDB still prevents this test case from passing llvm-svn: 175653
This commit is contained in:
parent
4467d79ad4
commit
294c5e1cc3
|
@ -45,6 +45,8 @@ class ConstVariableTestCase(TestBase):
|
|||
self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE,
|
||||
substrs = [' resolved, hit count = 1'])
|
||||
|
||||
self.runCmd("next")
|
||||
|
||||
# Try frame variable.
|
||||
self.expect("frame variable index", VARIABLES_DISPLAYED_CORRECTLY,
|
||||
substrs = ['(int32_t) index = 512'])
|
||||
|
|
Loading…
Reference in New Issue