diff --git a/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp index b9dc2151e06..6c61763e1ab 100644 --- a/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp +++ b/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp @@ -430,6 +430,9 @@ void DWARFDebugFrame::parse(DWARFDataExtractor Data) { case 'R': FDEPointerEncoding = Data.getU8(&Offset); break; + case 'S': + // Current frame is a signal trampoline. + break; case 'z': if (i) ReportError(StartOffset, diff --git a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp index 952010c95fd..273c535925c 100644 --- a/tools/llvm-dwarfdump/llvm-dwarfdump.cpp +++ b/tools/llvm-dwarfdump/llvm-dwarfdump.cpp @@ -565,7 +565,7 @@ int main(int argc, char **argv) { ShowChildren = true; // Defaults to a.out if no filenames specified. - if (InputFilenames.size() == 0) + if (InputFilenames.empty()) InputFilenames.push_back("a.out"); // Expand any .dSYM bundles to the individual object files contained therein.