[EXT_EP-9528] Use of C++ lambda causes Dwarf debug information to be incorrect, and prevents debugging the code Created: 08/Oct/19  Updated: 18/Nov/25  Resolved: 08/Oct/19

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-6757
Forum URL: https://e2e.ti.com/support/processors/f/791/t/845005
Found In Release: C6000_8.2.0
C6000_8.3.0
C6000_8.5.0.LTS
ARM_18.12.0.LTS
ARM_18.1.2.LTS
C7000_2.0.0.STS
MSP430_18.12.0.LTS
ARM_20.2.0.beta
MSP430_20.2.0.beta
C7000_1.2.0.STS
MSP430_18.1.2.LTS
Fix In Release: ARM_18.12.5.LTS
C6000_8.5.0.LTS
ARM_18.1.8.LTS
MSP430_18.1.8.LTS
C7000_2.0.0.STS
C6000_8.3.6
ARM_20.2.0.beta
C6000_8.2.9
MSP430_20.2.0.beta
MSP430_18.12.5.LTS
Affected Platform/Device: default
Workaround: Define the lambda outside the function, or don't use one. The problem is with nested functions.
Release Notes: If a C++ function has a lambda or other function defined inside it, the compiler may not produce adequate debug information to allow debugging either the outer function or any of the inner functions. The code is still correct, and the debugging information is correct but incomplete.

 Description   

Use of C++ lambda causes Dwarf debug information to be incorrect, and prevents debugging the code


Generated at Sat Dec 13 11:34:49 CST 2025 using Jira 10.3.7#10030007-sha1:a563685562f94d165eb4e158cfb2a142338d8c54.