]> granicus.if.org Git - clang/commit
[Driver] -noprofilelib flag
authorPetr Hosek <phosek@chromium.org>
Thu, 11 Jul 2019 19:06:38 +0000 (19:06 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 11 Jul 2019 19:06:38 +0000 (19:06 +0000)
commited03cf3d19767093e015d026698bcd3bd6a5c2e2
tree4bebb3f03165195fd11ed162dc4251686539c126
parentac0a6267a5f7d55a288edccbff47925d9ddb4fc2
[Driver] -noprofilelib flag

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365808 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ClangCommandLineReference.rst
include/clang/Driver/Options.td
lib/Driver/ToolChain.cpp
test/Driver/noprofilelib.c [new file with mode: 0644]