Make SymbolFileDWARF::GetCachedSectionData thread safe
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Use std::call_once instead of a std::atomic+std::mutex combination based on some offline discussion with Pavel
Comment Actions
The new version of the patch looks much cleaner than the old one. Thanks.
source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | ||
---|---|---|
641 ↗ | (On Diff #38019) | shorter and probably more efficient: |