Fix error in TestNumThreads.py when frame.GetFunctionName returns none
authorMuhammad Omair Javaid <omair.javaid@linaro.org>
Wed, 13 May 2020 00:12:48 +0000 (05:12 +0500)
committerMuhammad Omair Javaid <omair.javaid@linaro.org>
Wed, 13 May 2020 00:13:46 +0000 (05:13 +0500)
commit0796b170fb3bf38e6cc4e59746120b37c9a9cd9f
tree92b5c791af88496ffd44cff7c64c03450daf7589
parent63c0e72b2f828db778135d3bdc4e0df03341a3a9
Fix error in TestNumThreads.py when frame.GetFunctionName returns none

Summary:
This patch fixes an error happening in TestNumThreads.py when it encounters frame.GetFunctionName none for address only locations in stripped libc.

This error was showing up on arm-linux docker container running lldb buildbot.

Reviewers: labath

Reviewed By: labath

Subscribers: kristof.beyls, lldb-commits

Differential Revision: https://reviews.llvm.org/D79777
lldb/test/API/functionalities/thread/num_threads/TestNumThreads.py