-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
llvm/msvc: IsStatement in codeview data is always false #38262
Copy link
Copy link
Open
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.O-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsP-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.Category: This is a bug.O-windows-msvcToolchain: MSVC, Operating system: WindowsToolchain: MSVC, Operating system: WindowsP-lowLow priorityLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Each entry in the line table FilenameSegments has a 'IsStatement' member. LLVM hardcodes this to 'false', while in MSVC they seem to basically be always 'true'. Changing the default, at the very least, is trivial, but we don't know what this does. None of the Google employees I have asked know (they have mentioned DWARF has something similar which is also unused though), so I'm trying to ask someone at Microsoft.
(cc @michaelwoerister)