Displaying 2 results from an estimated 2 matches for "b287dcbe".
2013 Apr 12
0
[LLVMdev] The line number range of a function in source code level
On 4/12/13 4:31 AM, Mingliang LIU wrote:
> Hi all,
>
> I need to know the line number range of a function. The start of the
> function line number can be found by the definition point, which is
> stored at the subprogram metadata: DISubprogram::getLineNumber().
>
> However, there is no API (or the metadata in the first place) to know
> the end of the function.
>
>
2013 Apr 12
3
[LLVMdev] The line number range of a function in source code level
Hi all,
I need to know the line number range of a function. The start of the
function line number can be found by the definition point, which is stored
at the subprogram metadata: DISubprogram::getLineNumber().
However, there is no API (or the metadata in the first place) to know the
end of the function.
I have to visit all the instructions of the function and maintain the
*max*line number of