This patch is extracted from D96035. It adds simple non-allocating list class.
The list allows thread safe insertions. List items should be allocated
and deleted outside the list.
Details
Details
- Reviewers
JDevlieghere clayborg aprantl dblaikie
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The implementation looks good. I left some inline comments with suggestions for names that more closely match that of the STL containers to make the class feel more familiar to those who are used to them.
llvm/include/llvm/DWARFLinkerParallel/NonAllocatingList.h | ||
---|---|---|
38 | front | |
42 | empty | |
45 | pushFront | |
76 | clear | |
79 | sort | |
98 | reverse |
front