[PATCH] D148916: [Support][Parallel] Initialize threadIndex and add assertion checking its usage.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 26 14:12:37 PDT 2023


avl updated this revision to Diff 517314.
avl added a comment.

addressed comments(used macros for getThreadIndex implementation,
set threadIndex to 0 in case parallel::strategy.ThreadsRequested == 1)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148916/new/

https://reviews.llvm.org/D148916

Files:
  lld/ELF/Relocations.cpp
  llvm/include/llvm/Support/Parallel.h
  llvm/lib/Support/Parallel.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148916.517314.patch
Type: text/x-patch
Size: 3665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/9d40a13f/attachment.bin>


More information about the llvm-commits mailing list