From 7d4592733cc94d0f6cb19c4daf753fa9bcb663db Mon Sep 17 00:00:00 2001 From: Jim Laskey Date: Sat, 8 Apr 2006 00:35:59 +0000 Subject: Remove section change in function end, preventing override of function's real section. llvm-svn: 27503 --- llvm/lib/CodeGen/DwarfWriter.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index ab00a998530..fb4c65daab7 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/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. -- cgit v1.2.3