Skip to content

Commit 478528e

Browse files
committed
fixup! handle C version 0
1 parent bb068b9 commit 478528e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/BinaryFormat/Dwarf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ StringRef llvm::dwarf::LanguageDescription(dwarf::SourceLanguageName Name,
512512
// YYYYMM
513513
case DW_LNAME_C: {
514514
if (Version == 0)
515-
return "K&R C";
515+
break;
516516
if (Version <= 198912)
517517
return "C89";
518518
if (Version <= 199901)

0 commit comments

Comments
 (0)