[PATCH] D85691: lld: link libatomic if needed for Timer
JF Bastien via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 15:31:50 PDT 2020
jfb added a comment.
You're probably better off putting the `std::chrono::nanoseconds::rep` behind a lock if it's not always lock free on all platforms. Some platforms just don't have `libatomic`, so this patch might cause other issues.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85691/new/
https://reviews.llvm.org/D85691
More information about the llvm-commits
mailing list