[llvm-dev] RFC: A binary serialization format for MemProf
Than McIntosh via llvm-dev
llvm-dev at lists.llvm.org
Fri Oct 1 11:35:36 PDT 2021
Gollvm does not support the sanitizers at the moment. There is some support
for PGO (driver plumbing
and such) but it is in a fairly rudimentary state, mainly there to allow
running experiments. It would need a good deal more work to make it
On Fri, Oct 1, 2021 at 1:54 PM Xinliang David Li <davidxl at google.com> wrote:
> On Fri, Oct 1, 2021 at 10:32 AM Teresa Johnson <tejohnson at google.com>
> > I was going to respond similarly, and add a note that it isn't clear
> that gollvm (LLVM-based Go compiler) supports either PGO or the sanitizers,
> so that may be more difficult than Rust which does. As Snehasish notes, we
> are focused on C/C++, but this will all be done in the LLVM IR level and
> should be language independent in theory.
> +Than McIntosh to comment more on PGO and sanitizer support for gollvm.
> > Teresa
> > On Fri, Oct 1, 2021 at 10:25 AM Snehasish Kumar <snehasishk at google.com>
> >> Hi Andrey,
> >> The serialization format is language independent, though our focus is
> C/C++. Note that our instrumentation is based on the LLVM sanitizer
> infrastructure and should work for Rust (supports building with sanitizers
> ). We have not considered using the data profile for non-C/C++ codes.
> >> Regards,
> >> Snehasish
> >> 
> >> On Fri, Oct 1, 2021 at 9:14 AM Andrey Bokhanko <
> andreybokhanko at gmail.com> wrote:
> >>> Hi Snehasish, David and Theresa,
> >>> I'm really glad to see the steady progress in this area!
> >>> It looks like the format is pretty much language independent
> >>> (correct?) -- so it can be applied not only to C/C++, but other
> >>> languages (Rust) and even toolchains (Go) as well? If you have already
> >>> considered using data profile for non-C/C++, may I kindly ask you to
> >>> share your thoughts on this?
> >>> Yours,
> >>> Andrey
> >>> ===
> >>> Advanced Software Technology Lab
> >>> Huawei
> >>> On Thu, Sep 30, 2021 at 1:17 AM Snehasish Kumar <snehasishk at google.com>
> >>> >
> > --
> > Teresa Johnson | Software Engineer | tejohnson at google.com |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev