[CSSPGO] Passing the clang driver switch -fpseudo-probe-for-profiling to the linker.
authorHongtao Yu <hoy@fb.com>
Fri, 22 Jan 2021 23:52:46 +0000 (15:52 -0800)
committerHongtao Yu <hoy@fb.com>
Tue, 2 Feb 2021 17:43:57 +0000 (09:43 -0800)
commitd3e2e3740d0730cb6788c771bb01a8f3e935bf2e
treea136d4c63988b73ae68d2f1f7ced9135e3ab714c
parent870a58a75889031d0d860ec6ae51caa1ccfbd8ad
[CSSPGO] Passing the clang driver switch -fpseudo-probe-for-profiling to the linker.

As titled.

Reviewed By: wmi, wenlei

Differential Revision: https://reviews.llvm.org/D95271
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/Driver/pseudo-probe-lto.c [new file with mode: 0644]