[llvm-dev] RFC: Comprehensive Static Instrumentation

TB Schardl via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 17 18:10:36 PDT 2016

CSI is designed to work correctly with any linker.  With its current
design, only tool performance is dependent on optimization at link time.
As such, this expectation should be right.
On Jun 17, 2016 10:32 AM, "Kostya Serebryany via llvm-dev" <
llvm-dev at lists.llvm.org> 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.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160617/31f3ca88/attachment.html>

More information about the llvm-dev mailing list