Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / profile-remap-error.cpp
blob61b8fb0151fefe934b5f87238eef0836d85b1cda
1 // REQUIRES: x86-registered-target
3 // RUN: not %clang_cc1 -triple x86_64-linux-gnu -fprofile-sample-use=%S/Inputs/profile-remap.samples -fprofile-remapping-file=%S/Inputs/profile-remap-error.map -O2 %s -emit-llvm -o - 2>&1 | FileCheck %s
5 // CHECK: error: {{.*}}/profile-remap-error.map:1: Could not demangle 'unmangled' as a <name>; invalid mangling?
6 // CHECK-NEXT: error: {{.*}}/profile-remap-error.map: Could not create remapper: Malformed sample profile data
7 // CHECK-NEXT: error: {{.*}}/profile-remap.samples: Could not open profile: Malformed sample profile data