Ahmad Nouralizadeh Khorrami via llvm-dev
2018-Sep-17 11:54 UTC
[llvm-dev] Map LLVM IR Instruction to the Corresponding Line in the LLVM Assembly Source File
Hi! I want to know the exact line number in the ".ll" file that an instruction comes from. This helps me understand how different passes work and manipulate IR. Is it possible? How? Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180917/85703749/attachment.html>
Michael Kruse via llvm-dev
2018-Sep-17 16:57 UTC
[llvm-dev] Map LLVM IR Instruction to the Corresponding Line in the LLVM Assembly Source File
You could try https://reviews.llvm.org/D40778 Michael Am Mo., 17. Sep. 2018 um 06:55 Uhr schrieb Ahmad Nouralizadeh Khorrami via llvm-dev <llvm-dev at lists.llvm.org>:> > Hi! > I want to know the exact line number in the ".ll" file that an instruction comes from. This helps me understand how different passes work and manipulate IR. Is it possible? How? > Thanks in advance! > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev