diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-24 02:42:26 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-01-24 02:42:26 +0000 |
commit | 61adb27de416f8b8d4661e236c450139e4c37062 (patch) | |
tree | c3f3fc9b7808940e86dd6e36739fd8654d38bc38 /llvm/lib/LTO/LTOModule.cpp | |
parent | 100859c60836ba285aece8d052eb3e0960610321 (diff) | |
download | bcm5719-llvm-61adb27de416f8b8d4661e236c450139e4c37062.tar.gz bcm5719-llvm-61adb27de416f8b8d4661e236c450139e4c37062.zip |
Most streamers' InitSections just create a text section. Make that the default
llvm-svn: 199969
Diffstat (limited to 'llvm/lib/LTO/LTOModule.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/LTO/LTOModule.cpp b/llvm/lib/LTO/LTOModule.cpp index 60209539461..c5c817c2a1d 100644 --- a/llvm/lib/LTO/LTOModule.cpp +++ b/llvm/lib/LTO/LTOModule.cpp @@ -663,9 +663,6 @@ namespace { // Noop calls. virtual void ChangeSection(const MCSection *Section, const MCExpr *Subsection) {} - virtual void InitSections() { - SwitchSection(getContext().getObjectFileInfo()->getTextSection()); - } virtual void EmitAssemblerFlag(MCAssemblerFlag Flag) {} virtual void EmitThumbFunc(MCSymbol *Func) {} virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) {} |