Index: lib/Object/COFFObjectFile.cpp =================================================================== --- lib/Object/COFFObjectFile.cpp +++ lib/Object/COFFObjectFile.cpp @@ -1063,6 +1063,10 @@ // Not null terminated, use all 8 bytes. Name = StringRef(Sec->Name, COFF::NameSize); + // COFF .eh_frame section named .eh_fram + if (Name.equals(".eh_fram")) + Name = StringRef(".eh_frame"); + // Check for string table entry. First byte is '/'. if (Name.startswith("/")) { uint32_t Offset;