summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7d4592733cc94d0f6cb19c4daf753fa9bcb663db (patch)
tree7dc275d5a3dea877cb8c6ac4c0faf21772fe5371 /llvm/lib/CodeGen
parent016a0e50a58311a900842a8e772d03073a1f0f63 (diff)
downloadbcm5719-llvm-7d4592733cc94d0f6cb19c4daf753fa9bcb663db.tar.gz
bcm5719-llvm-7d4592733cc94d0f6cb19c4daf753fa9bcb663db.zip
Remove section change in function end, preventing override of function's real
section. llvm-svn: 27503
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp1
1 files changed, 0 insertions, 1 deletions
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.
OpenPOWER on IntegriCloud