forked from OSchip/llvm-project
Remove section change in function end, preventing override of function's real
section. llvm-svn: 27503
This commit is contained in:
parent
016a0e50a5
commit
7d4592733c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue