[PATCH] D95583: Frontend: Add -f{, no-}implicit-modules-uses-lock and -Rmodule-lock

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 27 19:26:40 PST 2021


dexonsmith created this revision.
dexonsmith added reviewers: Bigcheese, jansvoboda11.
Herald added subscribers: dang, ributzka.
dexonsmith requested review of this revision.
Herald added a project: clang.

Add -cc1 flags `-fmodules-uses-lock` and `-fno-modules-uses-lock` to
allow the lock manager to be turned off when building implicit modules.

Add `-Rmodule-lock` so that we can see when it's being used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95583

Files:
  clang/include/clang/Basic/DiagnosticFrontendKinds.td
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Driver/Options.td
  clang/include/clang/Frontend/FrontendOptions.h
  clang/lib/Frontend/CompilerInstance.cpp
  clang/test/Modules/implicit-modules-use-lock.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95583.319738.patch
Type: text/x-patch
Size: 7259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210128/423b26ab/attachment.bin>


More information about the cfe-commits mailing list