summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-05-26 02:17:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-05-26 02:17:21 +0000
commit64acc7fcc79d789daf0559f5d254aa7dbfa3708e (patch)
tree24fafa7069df5cd4fe80201e3d794b4fb60890d3 /llvm/lib/MC/MCELFStreamer.cpp
parent5a1e80bc437db7f4fe9e62abd9c459c7000cade6 (diff)
downloadbcm5719-llvm-64acc7fcc79d789daf0559f5d254aa7dbfa3708e.tar.gz
bcm5719-llvm-64acc7fcc79d789daf0559f5d254aa7dbfa3708e.zip
Remove most uses of MCSectionData from MCAssembler.
llvm-svn: 238172
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index cad5d93e459..b6778c4ab83 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -204,7 +204,7 @@ bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
// important for matching the string table that 'as' generates.
IndirectSymbolData ISD;
ISD.Symbol = Symbol;
- ISD.SectionData = getCurrentSectionData();
+ ISD.Section = &getCurrentSectionData()->getSection();
getAssembler().getIndirectSymbols().push_back(ISD);
return true;
}
OpenPOWER on IntegriCloud