[lldb] [test] Do not check libc function names in NetBSD core test

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
This commit is contained in:
Michal Gorny 2019-03-08 22:32:35 +00:00
parent 2714d58901
commit 7b374be946
1 changed files with 1 additions and 1 deletions

View File

@ -130,8 +130,8 @@ class NetBSDCoreCommonTestCase(TestBase):
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(