[llvm-bugs] [Bug 36446] New: Hidden /d1PP flag is ignored by clang-cl
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 19 20:09:49 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36446
Bug ID: 36446
Summary: Hidden /d1PP flag is ignored by clang-cl
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: alexandre.ganea at ubisoft.com
CC: llvm-bugs at lists.llvm.org
The hidden /d1PP flag is required by some buildsystems such as Fastbuild
(http://fastbuild.org/docs/home.html)
The purpose of this flag is to emit #defines in the preprocessed output, when
using /E. In the case of Fastbuild, this flag is needed to properly invalidate
Fastbuild's cache, if a PCH file changes only with different #defines.
The function TestPrecompiledHeaders::CacheUniqueness() in
https://github.com/fastbuild/fastbuild/blob/master/Code/Tools/FBuild/FBuildTest/Tests/TestPrecompiledHeaders.cpp
illustrates the issue.
/d1PP shall translate to -dD (OPT_dD)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180220/553a503e/attachment-0001.html>
More information about the llvm-bugs
mailing list