[PATCH] D87187: [Driver] Perform Linux distribution detection just once

Dmitry Antipov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 00:30:02 PDT 2020


dmantipov updated this revision to Diff 293949.
dmantipov added a comment.

IIUC compiler driver is not intended to be multithreaded. But OK, here is the version with llvm::call_once(...).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87187

Files:
  clang/include/clang/Driver/Distro.h
  clang/lib/Driver/Distro.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87187.293949.patch
Type: text/x-patch
Size: 10080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200924/e73db62c/attachment-0001.bin>


More information about the cfe-commits mailing list