[PATCH] D132801: [driver] Additional ignoring of module-map related flags, if modules are disabled
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 29 10:08:37 PDT 2022
MaskRay accepted this revision.
MaskRay added a comment.
Herald added a subscriber: StephenFan.
I sometimes need to debug builds by disabling modules. This behavior will make debugging easier.
================
Comment at: clang/test/Driver/modules.m:81
// RUN: %clang -fno-modules -fmodules-validate-system-headers -### %s 2>&1 | FileCheck -check-prefix=VALIDATE_SYSTEM_FLAG %s
// VALIDATE_SYSTEM_FLAG-NOT: -fmodules-validate-system-headers
----------------
You may combine `-fmodule-map-file=module.modulemap` with this RUN line to avoid introducing a new RUN line (every run makes testsuite slightly slower).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132801/new/
https://reviews.llvm.org/D132801
More information about the cfe-commits
mailing list