mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 22:08:57 -04:00

If the linker is gcc (the default for Generic_ELF toolchains), we end up passing most of the arguments to the linker. Some tests were failing to account for this in their usage of *-NOT: lines and would fail if compiled with -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-unknown llvm-svn: 228902
14 lines
779 B
C++
14 lines
779 B
C++
// Make sure we don't match the -NOT lines with the linker invocation.
|
|
// Delimiters match the start of the cc1 and the start of the linker lines
|
|
// DELIMITERS: {{^ *"}}
|
|
|
|
// RUN: %clang -### -pedantic -no-pedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-prefix=DELIMITERS %s
|
|
// RUN: %clang -### -pedantic -Wno-pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefix=DELIMITERS %s
|
|
// NO_PEDANTIC-NOT: -pedantic
|
|
// RUN: %clang -### -pedantic -pedantic -no-pedantic -pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefix=DELIMITERS %s
|
|
// RUN: %clang -### -pedantic -pedantic -no-pedantic -Wpedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-prefix=DELIMITERS %s
|
|
// PEDANTIC: -pedantic
|
|
// REQUIRES: clang-driver
|
|
|
|
// DELIMITERS: {{^ *"}}
|