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.
Paths
| Differential D95583
Frontend: Add -f{,no-}implicit-modules-uses-lock and -Rmodule-lock ClosedPublic Authored by dexonsmith on Jan 27 2021, 7:26 PM.
Details Summary Add -cc1 flags -fmodules-uses-lock and -fno-modules-uses-lock to Add -Rmodule-lock so that we can see when it's being used.
Diff Detail
Event Timelinedexonsmith added a parent revision: D95581: Frontend: Refactor compileModuleAndReadAST, NFC.Jan 27 2021, 7:26 PM Comment Actions Left a question in-line.
This revision is now accepted and ready to land.Jan 30 2021, 10:31 AM This revision was landed with ongoing or failed builds.Aug 12 2021, 3:59 PM Closed by commit rGb714f73defc8: Frontend: Add -f{,no-}implicit-modules-uses-lock and -Rmodule-lock (authored by dexonsmith). · Explain Why This revision was automatically updated to reflect the committed changes. arichardson added inline comments.
Revision Contents
Diff 366142 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
|
Where is the empty remark coming from? Is it useful to us in any way?