[llvm-dev] Map LLVM IR Instruction to the Corresponding Line in the LLVM Assembly Source File

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 17 09:57:38 PDT 2018


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


More information about the llvm-dev mailing list