Looks like these DW_AT_language tags made it into the DWARFv5 spec.
Let's emit them when -std=c++{20|17} or -std=c17.
Details
Details
- Reviewers
dblaikie jcranmer-intel
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
This was discussed in D138597 & we decided not to implement these due to the risk of breaking existing v5 clients that might not know about the post-v5-release codes. Implementing the v6 codes as an extension might be an option, or emitting the post-v5-release codes as an extension/under non-strict mode?
But is there any particular value you're looking for by implementing these?
Comment Actions
Ah, sorry I was lacking that context. No value in particular, just looked like a bug when reading through this code.
Comment Actions
Also noting that GCC 12.2.0 does not produce these newer DW_AT_language values when using -std={c17|c++17|c++20}`.