From f36e2d3415e91d51b0da2883ad57f663a34a1b97 Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Sat, 8 Apr 2006 00:35:59 +0000 Subject: [PATCH] Remove section change in function end, preventing override of function's real section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27503 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/DwarfWriter.cpp | 1 - 1 file changed, 1 deletion(-) 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.