[all-commits] [llvm/llvm-project] b714f7: Frontend: Add -f{, no-}implicit-modules-uses-lock a...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Thu Aug 12 15:59:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b714f73defc8e0755c7c7cf043df1f1c21344839
      https://github.com/llvm/llvm-project/commit/b714f73defc8e0755c7c7cf043df1f1c21344839
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

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

  Log Message:
  -----------
  Frontend: Add -f{,no-}implicit-modules-uses-lock and -Rmodule-lock

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.

Differential Revision: https://reviews.llvm.org/D95583




More information about the All-commits mailing list