Displaying 4 results from an estimated 4 matches for "constructvariabledi".
Did you mean:
constructvariabledie
2011 Oct 10
2
[LLVMdev] Expected behavior of eliminateFrameIndex() on dbg_value machine instructions
...s
the right thing to do (for example
ARMBaseRegisterInfo::eliminateFrameIndex and
Thumb1RegisterInfo::eliminateFrameIndex appear to handle dbg_value in
exactly the same way).
Unfortunately this results in an assertion firing in
MachineFrameInfo::getObjectOffset(). This is due to
CompileUnit::constructVariableDIE() passing the second operand of the
dbg_value instruction (set to the byte offset) to
getFrameIndexReference() which expects a frame index as an argument.
Am I doing something wrong in eliminateFrameIndex()? Is this a bug in
CompileUnit::constructVariableDIE()? Is there something else I'm...
2011 Oct 11
1
[LLVMdev] Expected behavior of eliminateFrameIndex() on dbg_value machine instructions
...liminateFrameIndex() is when it is called on a
>> dbg_value machine instruction.
> That is up to the target.
>
> The TII::emitFrameIndexDebugValue() hook is called to insert DBG_VALUE instructions referring to values on the stack.
Thanks for pointing this out. Looking at the code in
constructVariableDIE it seems to use the number of operands to determine
if the DBG_VALUE is target specific or not. It is considered target
specific if it does not have exactly 3 operands in which case the
getDebugValueLocation hook is called. Implementing both
TII::emitFrameIndexDebugValue() and AsmPrinter::getD...
2011 Oct 10
0
[LLVMdev] Expected behavior of eliminateFrameIndex() on dbg_value machine instructions
On Oct 10, 2011, at 10:26 AM, Richard Osborne wrote:
> I'm investigating a bug associated with debug information that manifests
> itself in the XCore backend (PR11105). I'd like to understand what the
> expected behavior of eliminateFrameIndex() is when it is called on a
> dbg_value machine instruction.
That is up to the target.
The TII::emitFrameIndexDebugValue() hook is
2017 Mar 16
2
Please dogfood LLD
What program did you use to test the feature, and what was missing
information? I'd like to file that as a bug so that we can fix this later.
On Thu, Mar 16, 2017 at 2:34 PM, David Blaikie <dblaikie at gmail.com> wrote:
> FWIW - selfhosting I did find that GDB wasn't able to find the source code
> for some functions when using LLD's gdb_index, so I've switched back to