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 {
708
708
void SwitchToExTabSection (const MCSymbol &FnStart);
709
709
void SwitchToExIdxSection (const MCSymbol &FnStart);
710
710
711
- void EmitFixup (const MCExpr *Expr, MCFixupKind Kind);
712
-
713
711
bool IsThumb;
714
712
bool IsAndroid;
715
713
@@ -1096,8 +1094,8 @@ void ARMTargetELFStreamer::emitLabel(MCSymbol *Symbol) {
1096
1094
}
1097
1095
1098
1096
void ARMTargetELFStreamer::annotateTLSDescriptorSequence (
1099
- const MCSymbolRefExpr *S ) {
1100
- getStreamer ().EmitFixup (S , FK_Data_4);
1097
+ const MCSymbolRefExpr *Expr ) {
1098
+ getStreamer ().addFixup (Expr , FK_Data_4);
1101
1099
}
1102
1100
1103
1101
void ARMTargetELFStreamer::emitCode16 () { getStreamer ().setIsThumb (true ); }
@@ -1206,11 +1204,6 @@ inline void ARMELFStreamer::SwitchToExIdxSection(const MCSymbol &FnStart) {
1206
1204
SectionKind::getData (), FnStart);
1207
1205
}
1208
1206
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
-
1214
1207
void ARMELFStreamer::EHReset () {
1215
1208
ExTab = nullptr ;
1216
1209
FnStart = nullptr ;
You can’t perform that action at this time.
0 commit comments