Some command-line codegen arguments are likely to differ between identical modules discovered from different translation units. This patch removes them to make builds deterministic and/or reduce the number of built modules. Reviewed By: Bigcheese Differential Revision: https://reviews.llvm.org/D112923
8 lines
226 B
Plaintext
8 lines
226 B
Plaintext
[
|
|
{
|
|
"directory": "DIR",
|
|
"command": "clang -fsyntax-only DIR/tu.c -fmodules -fimplicit-module-maps -fmodules-cache-path=DIR/cache -include DIR/header.h -grecord-command-line -o DIR/tu.o",
|
|
"file": "DIR/tu.c"
|
|
}
|
|
]
|