aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-04-08 00:35:59 +0000
committerJim Laskey <jlaskey@mac.com>2006-04-08 00:35:59 +0000
commitf36e2d3415e91d51b0da2883ad57f663a34a1b97 (patch)
tree52ff58dbf527b0bbd509fa9d3d7a5f1f98dca228 /lib/CodeGen
parentc1989542eba5086b073e28e235014f9a1d30daaf (diff)
downloadexternal_llvm-f36e2d3415e91d51b0da2883ad57f663a34a1b97.zip
external_llvm-f36e2d3415e91d51b0da2883ad57f663a34a1b97.tar.gz
external_llvm-f36e2d3415e91d51b0da2883ad57f663a34a1b97.tar.bz2
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
Diffstat (limited to 'lib/CodeGen')
-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 ab00a99..fb4c65d 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.