Displaying 2 results from an estimated 2 matches for "currentinstruct".
2015 Dec 15
4
Line number without -Debug ?
Hi Eric and thanks for your answer,
What I mean is that I want to find the number of line on the IR code of
a specific instruction.
I found out that I can use:
DebugLoc Loc = CurrentInstruction->getDebugLoc();
unsigned Line = Loc.getLine();
But this works only if DEBUGFLAG is True.
I'd like to be able to get the Line number without being on a 'Debug'
mode. Is this possible?
Thanks again,
-irini
On 15/12/2015 09:37, Eric Christopher wrote:
> Not sure what...
2015 Dec 15
2
Line number without -Debug ?
Hi list,
Is it possible to retrieve the source/IR line number
without being on a debug mode?
Thank you in advance,
--
irini