[llvm-dev] Why LLVM doesn't have debug information of function right parentheses?
Florian Hahn via llvm-dev
llvm-dev at lists.llvm.org
Thu Apr 12 09:11:17 PDT 2018
Hi,
On 12/04/2018 15:35, Frozen via llvm-dev wrote:
> I added one attribute named EndLine in LLVM IR before. LLVM's part is
> not hard, but will modify many places in Clang. I success for it, you
> can try this way.
>
For loops, we use a range to keep track of the start and end of the loop
for remarks: http://llvm.org/doxygen/classllvm_1_1Loop_1_1LocRange.html
Maybe it would make sense to use something similar for function start
and end locations?
Cheers,
Florian
More information about the llvm-dev
mailing list