Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

[Driver] -noprofilelib flag

Authored by phosek on Jul 11 2019, 12:11 AM.



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.

Diff Detail

Event Timeline

phosek created this revision.Jul 11 2019, 12:11 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 11 2019, 12:11 AM
Herald added subscribers: Restricted Project, llvm-commits. · View Herald Transcript
davidxl accepted this revision.Jul 11 2019, 7:55 AM


This revision is now accepted and ready to land.Jul 11 2019, 7:55 AM
smeenai accepted this revision.Jul 11 2019, 2:45 PM


phosek closed this revision.Jul 11 2019, 3:56 PM
kimgr added a subscriber: kimgr.Jul 19 2019, 10:50 PM

On the fuzzer side, there's also -fsanitize=fuzzer-no-link (see Maybe it would be nice to harmonize all these?