Fix an incorrect comment in main.c and TestConditionalBreak.py.
It should be c's parent frame being a instead of the other way around. llvm-svn: 118198
This commit is contained in:
parent
87bb589c4d
commit
fb53d5069d
|
@ -61,7 +61,7 @@ class ConditionalBreakTestCase(TestBase):
|
|||
|
||||
# Find the line number where a's parent frame function is c.
|
||||
line = line_number('main.c',
|
||||
"// Find the line number where a's parent frame function is c here.")
|
||||
"// Find the line number where c's parent frame is a here.")
|
||||
|
||||
# Suppose we are only interested in the call scenario where c()'s
|
||||
# immediate caller is a() and we want to find out the value passed from
|
||||
|
|
|
@ -24,7 +24,7 @@ int a(int val)
|
|||
if (val <= 1)
|
||||
return b(val);
|
||||
else if (val >= 3)
|
||||
return c(val); // Find the line number where a's parent frame function is c here.
|
||||
return c(val); // Find the line number where c's parent frame is a here.
|
||||
|
||||
return val;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue