[llvm] [LLVM][DWARF] Create thread safe context for DWP DWARFContext (PR #68262)

Greg Clayton via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 11:19:01 PDT 2023


clayborg wrote:

> Not sure I follow - wouldn't it be suitable for a ThreadUnsafeDWARFContext to create a ThreadUnsafeDWARFContext for the DWP? And only a ThreadSafeDWARFContext would create a ThreadSafeDWARFContext for the DWP?

No one is creating a thread safe context right now except llvm-gsymutil. So we could enable thread safe everywhere, but people seemed to think there would be some performance hit if that was done. 


https://github.com/llvm/llvm-project/pull/68262


More information about the llvm-commits mailing list