New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 773047 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug

Blocking:
issue 636111



Sign in to add a comment

clang-cl debug info: function arguments don't show up when breaking before prologues

Project Member Reported by h...@chromium.org, Oct 9 2017

Issue description

Split off from  Bug 755841 

The function arguments don't actually show up before the prologue with MSVC builds either, except for arguments on the stack which means it usually works for 32-bit builds in practive.

The problem is made worse for functions where the open and closing curly brace are on the same line as the declarator. This makes it hard to step past the prologue without leaving the function.

It's not clear how to fix this, but it's an opportunity for improvement.
 

Comment 1 by dxf@google.com, Oct 9 2017

Cc: dxf@google.com
Project Member

Comment 2 by sheriffbot@chromium.org, Oct 10

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
I tried fixing this by filling in the "DbgStart" field of the S_GPROC32_ID symbol, but it didn't help. The debugger still stops on the first instruction of the function, and with LLVM parameters haven't been copied into their allocas yet.

Another way to fix this would be to provide extra S_DEFRANGE records for parameters. I saw some code in LLVM to do the moral equivalent for DWARF, so we might be able to do this.

Sign in to add a comment