diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index ab00a998530..fb4c65daab7 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -2428,7 +2428,6 @@ void DwarfWriter::EndFunction() { EOL("Dwarf End Function"); // Define end label for subprogram. - Asm->SwitchSection(TextSection, 0); EmitLabel("func_end", SubprogramCount); // Construct scopes for subprogram.