aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index ab00a99853..fb4c65daab 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.