[llvm-dev] LLVM Diagnostic reporting for global variables

Chatterjee, Sandeep via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 5 10:37:18 PDT 2018


Hi,

I was looking at llvm Diagnostics reporting API and it seems that there is no API present for diagnostic reporting of global variables (I mean the GV itself and not the instructions that use the GV). What's the reason for that? Why can't we have a constructor for DiagnosticInfoWithLocationBase() that takes a GV instead of function? Or am I missing something here?

Thanks and Regards,
Sandeep

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180905/b01deaec/attachment.html>


More information about the llvm-dev mailing list