Drop the `Separate` form of `-fmodule-name X`, `-fprofile-remapping-file X`, and `-frewrite-map-file X`. To the best of my knowledge they are not used. Their conventional Joined forms (`-fFOO=`) should be used instead. `-fdebug-compilation-dir X` is used in several places, e.g. chromium/infra/goma. It is also advertised in http://blog.llvm.org/2019/11/deterministic-builds-with-clang-and-lld.html So we keep it but make the EQ form canonical and the Separate form an alias. Differential Revision: https://reviews.llvm.org/D96886
12 lines
334 B
C
12 lines
334 B
C
// RUN: rm -rf "%t"
|
|
// RUN: mkdir -p "%t"
|
|
// RUN: env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTION=1 \
|
|
// RUN: not %clang -fsyntax-only -frewrite-map-file=%p/Inputs/rewrite.map %s 2>&1 \
|
|
// RUN: | FileCheck %s
|
|
|
|
#pragma clang __debug parser_crash
|
|
|
|
// CHECK: note: diagnostic msg: {{.*}}rewrite.map
|
|
|
|
// REQUIRES: crash-recovery
|