File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
llvm/lib/Target/ARM/MCTargetDesc Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -708,8 +708,6 @@ class ARMELFStreamer : public MCELFStreamer {
708708 void SwitchToExTabSection (const MCSymbol &FnStart);
709709 void SwitchToExIdxSection (const MCSymbol &FnStart);
710710
711- void EmitFixup (const MCExpr *Expr, MCFixupKind Kind);
712-
713711 bool IsThumb;
714712 bool IsAndroid;
715713
@@ -1096,8 +1094,8 @@ void ARMTargetELFStreamer::emitLabel(MCSymbol *Symbol) {
10961094}
10971095
10981096void ARMTargetELFStreamer::annotateTLSDescriptorSequence (
1099- const MCSymbolRefExpr *S ) {
1100- getStreamer ().EmitFixup (S , FK_Data_4);
1097+ const MCSymbolRefExpr *Expr ) {
1098+ getStreamer ().addFixup (Expr , FK_Data_4);
11011099}
11021100
11031101void ARMTargetELFStreamer::emitCode16 () { getStreamer ().setIsThumb (true ); }
@@ -1206,11 +1204,6 @@ inline void ARMELFStreamer::SwitchToExIdxSection(const MCSymbol &FnStart) {
12061204 SectionKind::getData (), FnStart);
12071205}
12081206
1209- void ARMELFStreamer::EmitFixup (const MCExpr *Expr, MCFixupKind Kind) {
1210- MCFragment *Frag = getCurrentFragment ();
1211- Frag->addFixup (MCFixup::create (Frag->getContents ().size (), Expr, Kind));
1212- }
1213-
12141207void ARMELFStreamer::EHReset () {
12151208 ExTab = nullptr ;
12161209 FnStart = nullptr ;
You can’t perform that action at this time.
0 commit comments