[llvm-dev] LLVM log file
Adrian Vogelsgesang via llvm-dev
llvm-dev at lists.llvm.org
Sat Jan 23 19:47:35 PST 2021
I used “-print-changed”, “-print-before-all”, “print-after-all” last time I wanted to see the passes together with their inout/output IR modules.
In my case, I used them through “clang++”, i.e. I had to prefix them with “-mllvm”
> clang++ test_file.cpp -mllvm -print-after-all
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Brian Cain via llvm-dev <llvm-dev at lists.llvm.org>
Date: Sunday, 24. January 2021 at 04:40
To: Sudakshina Dutta <sudakshina at iitgoa.ac.in>
Cc: LLVM Development List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] LLVM log file
I don't know if it's exhaustive but there's the "remarks" feature:
https://llvm.org/docs/Remarks.html#introduction-to-the-llvm-remark-diagnostics<https://llvm.org/docs/Remarks.html#introduction-to-the-llvm-remark-diagnostics>
On Sat, Jan 23, 2021 at 9:20 PM Sudakshina Dutta via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
Dear all,
Good morning. I want to know whether LLVM creates any log file consisting of applied optimizations in the optimization phase. It will be really useful for the researchers who work on compilers, formal methods, etc.
Thanks,
Sudakshina
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
--
-Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210124/3ccda3ee/attachment.html>
More information about the llvm-dev
mailing list