
This flag is analoguous to other flags like -nostdlib or -nolibc and could be used to disable linking of profile runtime library. This is useful in certain environments like kernel, where profile instrumentation is still desirable, but we cannot use the standard runtime library. llvm-svn: 365808
6 lines
269 B
C
6 lines
269 B
C
// RUN: %clang -target i686-pc-linux-gnu -### %s 2>&1 \
|
|
// RUN: -fprofile-generate -noprofilelib | FileCheck %s
|
|
// RUN: %clang -target i686-pc-linux-gnu -### %s 2>&1 \
|
|
// RUN: -fprofile-instr-generate -noprofilelib | FileCheck %s
|
|
// CHECK-NOT: clang_rt.profile
|