[llvm-dev] RFC: Comprehensive Static Instrumentation

Xinliang David Li via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 17 10:43:19 PDT 2016


On Fri, Jun 17, 2016 at 10:32 AM, Kostya Serebryany <kcc at google.com> wrote:

>
>> I agree that the tool does not need to depend on full LTO. What is needed
>> is essentially an option or configuration such that the compiler can find
>> the bit code file(s) for the hooks during compilation time. It is pretty
>> much similar to how math function inlining can be done ...
>>
>> I'd expect CSI to work with ThinLTO (which is still undocumented, sadly)
> out of the box.
> Empty hooks will be eliminated completely, trivial hooks will be inlined.
> Non-trivial ones will stay.
>

yes, it is pretty close.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160617/037f2673/attachment.html>


More information about the llvm-dev mailing list