Michael Buch 658b5e35a7
[llvm][DebugInfo] Adjust ModuleDebugInfoPrinter to versioned language names (#167293)
We shouldn't be calling `getUnversionedName` unconditionally because
DWARFv6-enabled Clang will emit versioned language names that are
versioned (i.e., `sourceLanguageName`...see new test case). We need to
check `hasVersionedName` and pick the appropriate API based on that.
Otherwise we assert in `getUnversionedName`.
2025-11-11 09:29:55 +00:00
..