llvm-project/clang/test/Driver/XRay/xray-ignore-loops-flags.cpp
Fangrui Song 5c29ffda90 Revert "[Driver][test] Replace ^//$ with empty string"
This reverts commit 4817b7729a1846b709ec02b98bfe11b0125f8e8f.

It caused some `^/\n` and had some objection about its readability improvement.
2022-06-24 13:52:27 -07:00

10 lines
365 B
C++

// This test ensures that when we invoke the clang compiler, that the -cc1
// options include the -fxray-ignore-loops flag we provide in the
// invocation.
//
// RUN: %clang -fxray-instrument -fxray-ignore-loops -target x86_64-linux- -### \
// RUN: -x c++ -emit-llvm -c -o - %s 2>&1 | FileCheck %s
// CHECK: -fxray-ignore-loops
//
// REQUIRES: x86_64 || x86_64h