History log of /llvm-project/llvm/lib/CodeGen/LiveDebugVariables.cpp (Results 201 – 225 of 239)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 67b014b2 16-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com>

Namespacify.

llvm-svn: 139892


# f9e2ae9b 13-Sep-2011 Devang Patel <dpatel@apple.com>

Use a cache to maintain list of machine basic blocks for a given UserValue.

llvm-svn: 139616


# 37a62058 10-Aug-2011 Devang Patel <dpatel@apple.com>

While extending definition range of a debug variable, consult lexical scopes also. There is no point extending debug variable out side its lexical block. This provides 6x compile time speedup in some

While extending definition range of a debug variable, consult lexical scopes also. There is no point extending debug variable out side its lexical block. This provides 6x compile time speedup in some cases.

llvm-svn: 137250

show more ...


# 6c1ed31b 09-Aug-2011 Devang Patel <dpatel@apple.com>

Print variable's inline location in debug output.

llvm-svn: 137096


# eabc3cea 04-Aug-2011 Devang Patel <dpatel@apple.com>

Increment counter inside insertDebugValue().

llvm-svn: 136915


# b456866b 04-Aug-2011 Devang Patel <dpatel@apple.com>

Add counter.

llvm-svn: 136901


# 2539af60 03-Aug-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Correctly handle multiple DBG_VALUE instructions at the same SlotIndex.

It is possible to have multiple DBG_VALUEs for the same variable:

32L TEST32rr %vreg0<kill>, %vreg0, %EFLAGS<imp-def>; GR32:%

Correctly handle multiple DBG_VALUE instructions at the same SlotIndex.

It is possible to have multiple DBG_VALUEs for the same variable:

32L TEST32rr %vreg0<kill>, %vreg0, %EFLAGS<imp-def>; GR32:%vreg0
DBG_VALUE 2, 0, !"i"
DBG_VALUE %noreg, %0, !"i"

When that happens, keep the last one instead of the first.

llvm-svn: 136842

show more ...


# 338e4326 06-Jul-2011 Devang Patel <dpatel@apple.com>

Typo.

llvm-svn: 134559


# 89bd2ae5 08-May-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Remove an assertion to fix PR9872.

It can happen that a live debug variable is the last use of a sub-register, and
the register allocator will pick a larger register class for the virtual
register.

Remove an assertion to fix PR9872.

It can happen that a live debug variable is the last use of a sub-register, and
the register allocator will pick a larger register class for the virtual
register. If the allocated register doesn't support the sub-register index,
just use %noreg for the debug variables instead of asserting.

In PR9872, a debug variable ends up in the sub_8bit_hi part of a GR32_ABCD
register. The register is split and one part is inflated to GR32 and assigned
%ESI because there are no more normal uses of sub_8bit_hi.

Since %ESI doesn't have that sub-register, substPhysReg asserted. Now it will
simply insert a %noreg instead, and the debug variable will be marked
unavailable in that range.

We don't currently have a way of saying: !"value" is in bits 8-15 of %ESI, I
don't know if DWARF even supports that.

llvm-svn: 131073

show more ...


# 57c8f58a 06-May-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Iterate backwards over debug locations when splitting them so they can be safely erased.

This should unbreak dragonegg-i386-linux and build-self-4-mingw32.

llvm-svn: 131007


# f8da0288 06-May-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Update LiveDebugVariables after live range splitting.

After a virtual register is split, update any debug user variables that resided
in the old register. This ensures that the LiveDebugVariables ar

Update LiveDebugVariables after live range splitting.

After a virtual register is split, update any debug user variables that resided
in the old register. This ensures that the LiveDebugVariables are still correct
after register allocation.

This may create DBG_VALUE instructions that place a user variable in a register
in parts of the function and in a stack slot in other parts. DwarfDebug
currently doesn't support that.

llvm-svn: 130998

show more ...


# c86fe059 06-May-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Use TargetMachine hooks to properly print debug variable locations.

llvm-svn: 130997


# 0ab5e2cd 15-Apr-2011 Chris Lattner <sabre@nondot.org>

Fix a ton of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!

llvm-svn: 129558


Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2
# ec0ac3ca 22-Mar-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Reapply r128045 and r128051 with fixes.

This will extend the ranges of debug info variables in registers until they are
clobbered.

Fix 1: Don't mistake DBG_VALUE instructions referring to incoming

Reapply r128045 and r128051 with fixes.

This will extend the ranges of debug info variables in registers until they are
clobbered.

Fix 1: Don't mistake DBG_VALUE instructions referring to incoming arguments on
the stack with DBG_VALUE instructions referring to variables in the frame
pointer. This fixes the gdb test-suite failure.

Fix 2: Don't trace through copies to physical registers setting up call
arguments. These registers are call clobbered, and the source register is more
likely to be a callee-saved register that can be extended through the call
instruction.

llvm-svn: 128114

show more ...


# b0f98bb5 22-Mar-2011 Andrew Trick <atrick@apple.com>

Revert r128045 and r128051, debug info enhancements.

Temporarily reverting these to see if we can get llvm-objdump to link. Hopefully this is not the problem.

llvm-svn: 128097


# 9c057ee4 22-Mar-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges.

These ranges get completely jumbled by the post-ra scheduler, and it is not
really reasonable to expect it to make sense of them.

Dont emit 'DBG_VALUE %noreg, ...' to terminate user variable ranges.

These ranges get completely jumbled by the post-ra scheduler, and it is not
really reasonable to expect it to make sense of them.

Instead, teach DwarfDebug to notice when user variables in registers are
clobbered, and terminate the ranges there.

llvm-svn: 128045

show more ...


# 816f5f4c 18-Mar-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Extend live debug values down the dominator tree by following copies.

The llvm.dbg.value intrinsic refers to SSA values, not virtual registers, so we
should be able to extend the range of a value by

Extend live debug values down the dominator tree by following copies.

The llvm.dbg.value intrinsic refers to SSA values, not virtual registers, so we
should be able to extend the range of a value by tracking that value through
register copies. This greatly improves the debug value tracking for function
arguments that for some reason are copied to a second virtual register at the
end of the entry block.

We only extend the debug value range where its register is killed. All original
llvm.dbg.value locations are still respected.

Copies from physical registers are ignored. That should not be a problem since
the entry block already adds DBG_VALUE instructions for the virtual registers
holding the function arguments.

llvm-svn: 127912

show more ...


Revision tags: llvmorg-2.9.0-rc1
# 26ffa018 04-Feb-2011 Devang Patel <dpatel@apple.com>

DebugLoc associated with a machine instruction is used to emit location entries. DebugLoc associated with a DBG_VALUE is used to identify lexical scope of the variable. After register allocation, whi

DebugLoc associated with a machine instruction is used to emit location entries. DebugLoc associated with a DBG_VALUE is used to identify lexical scope of the variable. After register allocation, while inserting DBG_VALUE remember original debug location for the first instruction and reuse it, otherwise dwarf writer may be mislead in identifying the variable's scope.

llvm-svn: 124845

show more ...


# 088b30aa 13-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Better terminator avoidance.

This approach also works when the terminator doesn't have a slot index. (Which
can happen??)

llvm-svn: 123413


# 05a0b55e 13-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Temporary workaround for an i386 crash in LiveDebugVariables.

llvm-svn: 123400


# 74ded57b 12-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Try again enabling LiveDebugVariables.

llvm-svn: 123342


# e63dfeee 12-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Don't emit a DBG_VALUE for a spill slot that the rewriter decided not to use after all.

llvm-svn: 123339


# 2ffee66e 12-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Fix braino in dominator tree walk.

llvm-svn: 123338


# 1a3534af 12-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

Sometimes, old virtual registers can linger on DBG_VALUE instructions.

Make sure we don't crash in that case, but simply turn them into %noreg instead.

llvm-svn: 123335


# 43812bfa 11-Jan-2011 Jakob Stoklund Olesen <stoklund@2pi.dk>

The world is not ready for LiveDebugVariables yet.

llvm-svn: 123290


12345678910