Add comment for a branch of test logic which applies to ['clang', 'llvm-gcc'] only.

llvm-svn: 120355
This commit is contained in:
Johnny Chen 2010-11-29 23:58:04 +00:00
parent 9de9a73433
commit a994070040
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ class StaticVariableTestCase(TestBase):
if name == 'g_points':
self.assertTrue(val.GetNumChildren() == 2)
elif name == 'A::g_points' and self.getCompiler() in ['clang', 'llvm-gcc']:
# On Mac OS X, gcc 4.2 emits the wrong debug info for A::g_points.
self.assertTrue(val.GetNumChildren() == 2)
child1 = val.GetChildAtIndex(1)
self.DebugSBValue(frame, child1)