[LLVMdev] Warnings on Opt passes

edA-qa mort-ora-y eda-qa at disemia.com
Sat Nov 9 21:57:18 PST 2013


On 09/11/13 23:27, Renato Golin wrote:
> My main concern is not correctness, that should have been taken care by
> the front-end and the sanitizers, but things like we already do with the
> debug messages, only less verbose, and possibly formatted in a special
> way, so that other front-end tools can read and propose changes to the code.

How many such messages would be generated? If there are only a few,
perhaps it isn't worth it, but if there could be hundreds of them, then
perhaps it is worth it.

Could a front-end reasonably transform these warnings into something
meaningful to the programmer? Thinking of my own languages, or even C++,
it seems like it might be impossible to translate a lower-level warning.
Quite often the warnings are about things the programmer can't even
control in the high-level language.


-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.



More information about the llvm-dev mailing list