[PATCH] D140791: [DWARFLinkerNext] Add simple list with thread safe insertions.
    Thorsten via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Dec 31 00:14:43 PST 2022
    
    
  
tschuett added inline comments.
================
Comment at: llvm/include/llvm/DWARFLinkerNext/List.h:24
+public:
+  T *Next = nullptr;
+};
----------------
not atomic?
================
Comment at: llvm/include/llvm/DWARFLinkerNext/List.h:45
+  void addItem(T *NewItem) {
+    T *CurHead = nullptr;
+    do {
----------------
not atomic?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140791/new/
https://reviews.llvm.org/D140791
    
    
More information about the llvm-commits
mailing list