Displaying 2 results from an estimated 2 matches for "createlocation".
2009 Dec 02
3
[LLVMdev] A few more source level debugging questions
...t from Devang, I was able to solve the
problem with the duplicate assembly symbols, although I still don't quite
understand why it was generating erroneous metadata in the first place. For
example, through trial and error I discovered that the problem disappeared
if I passed my DICompileUnit to CreateLocation() rather than my
DISubprogram, but I don't know why.
The new API introduces a number of new parameters in DIFactory where I am
not sure what the correct value to pass is. CreateLocation() is one example
- I don't know if the context should be the compile unit, or the
subprogram/region. The...
2009 Dec 02
0
[LLVMdev] A few more source level debugging questions
...able to solve the
> problem with the duplicate assembly symbols, although I still don't quite
> understand why it was generating erroneous metadata in the first place. For
> example, through trial and error I discovered that the problem disappeared
> if I passed my DICompileUnit to CreateLocation() rather than my
> DISubprogram, but I don't know why.
The immediate lexical scope covering the location is the right answer.
Is your DISubprogram describing correct function ?
> The new API introduces a number of new parameters in DIFactory where I am
> not sure what the correct val...