Fix the NetBSD core test not to verify libc function names in backtrace.
This obviously requires the same libc.so as originally used to produce
the core file, and so it is going to fail everywhere except on my
system.
llvm-svn: 355747
for i in range(len(backtrace)):
frame = thread.GetFrameAtIndex(i)
self.assertTrue(frame)
- self.assertEqual(frame.GetFunctionName(), backtrace[i])
if not backtrace[i].startswith('_'):
+ self.assertEqual(frame.GetFunctionName(), backtrace[i])
self.assertEqual(frame.GetLineEntry().GetLine(),
line_number(src, "Frame " + backtrace[i]))
self.assertEqual(