mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
133a7e631c
The issue was reported by @xazax.hun here: https://reviews.llvm.org/D69825#1827826 "This patch (D69825) breaks scan-build-py which parses the output of "-###" to get -cc1 command. There might be other tools with the same problems. Could we either remove (in-process) from CC1Command::Print or add a line break? Having the last line as a valid invocation is valuable and there might be tools relying on that." Differential Revision: https://reviews.llvm.org/D72982
15 lines
332 B
C
15 lines
332 B
C
// RUN: %clang -### -S \
|
|
// RUN: --save-temps --undefine-macro=FOO --undefine-macro BAR \
|
|
// RUN: --param=FOO --output=FOO %s 2>&1 | \
|
|
// RUN: FileCheck %s
|
|
|
|
// CHECK-LABEL: "-cc1"
|
|
// CHECK: "-E"
|
|
// CHECK: "-U" "FOO"
|
|
// CHECK: "-U" "BAR"
|
|
// CHECK: "-o" "option-aliases.i"
|
|
|
|
// CHECK-LABEL: "-cc1"
|
|
// CHECK: "-S"
|
|
// CHECK: "-o" "FOO"
|