diff --git a/compiler-rt/test/profile/instrprof-lto-pgogen.c b/compiler-rt/test/profile/instrprof-lto-pgogen.c --- a/compiler-rt/test/profile/instrprof-lto-pgogen.c +++ b/compiler-rt/test/profile/instrprof-lto-pgogen.c @@ -1,13 +1,13 @@ // REQUIRES: lto // XFAIL: msvc -// RUN: %clang_pgogen=%t.profraw -flto %s -o %t +// RUN: %clang_pgogen=%t.profraw -fuse-ld=bfd -flto %s -o %t // RUN: %run %t // RUN: llvm-profdata merge %t.profraw -o %t.profdata // RUN: llvm-profdata show %t.profdata | FileCheck %s -// Testing a bug that happens when trying to generate IR -// profile with BFD linker + LTO plugin +// Test that we work around https://sourceware.org/bugzilla/show_bug.cgi?id=26262 +// which happens when trying to generate IR profile with BFD linker + LTO plugin. // CHECK: Instrumentation level: IR int main() { return 0; }