File tree Expand file tree Collapse file tree 10 files changed +0
-34
lines changed Expand file tree Collapse file tree 10 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,6 @@ class MCCOFFSectionNumberTargetExpr final : public MCTargetExpr {
82
82
MCFragment *findAssociatedFragment () const override {
83
83
return SectionSymbol.getFragment ();
84
84
}
85
-
86
- void fixELFSymbolsInTLSFixups (MCAssembler &) const override {
87
- llvm_unreachable (" Not supported for ELF" );
88
- }
89
85
};
90
86
91
87
// / MCExpr that represents the offset to a symbol from the beginning of its
@@ -123,10 +119,6 @@ class MCCOFFSectionOffsetTargetExpr final : public MCTargetExpr {
123
119
MCFragment *findAssociatedFragment () const override {
124
120
return Symbol.getFragment ();
125
121
}
126
-
127
- void fixELFSymbolsInTLSFixups (MCAssembler &) const override {
128
- llvm_unreachable (" Not supported for ELF" );
129
- }
130
122
};
131
123
132
124
MCWinCOFFStreamer::MCWinCOFFStreamer (MCContext &Context,
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ class AMDGPUMCExpr : public MCTargetExpr {
100
100
bool isSymbolUsedInExpression (const MCSymbol *Sym) const override ;
101
101
void visitUsedExpr (MCStreamer &Streamer) const override ;
102
102
MCFragment *findAssociatedFragment () const override ;
103
- void fixELFSymbolsInTLSFixups (MCAssembler &) const override {};
104
103
105
104
static bool classof (const MCExpr *E) {
106
105
return E->getKind () == MCExpr::Target;
Original file line number Diff line number Diff line change @@ -90,9 +90,6 @@ class ARMMCExpr : public MCTargetExpr {
90
90
return getSubExpr ()->findAssociatedFragment ();
91
91
}
92
92
93
- // There are no TLS ARMMCExprs at the moment.
94
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
95
-
96
93
static bool classof (const MCExpr *E) {
97
94
return E->getKind () == MCExpr::Target;
98
95
}
Original file line number Diff line number Diff line change @@ -73,8 +73,6 @@ class AVRMCExpr : public MCTargetExpr {
73
73
return getSubExpr ()->findAssociatedFragment ();
74
74
}
75
75
76
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
77
-
78
76
static bool classof (const MCExpr *E) {
79
77
return E->getKind () == MCExpr::Target;
80
78
}
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ class LanaiMCExpr : public MCTargetExpr {
43
43
return getSubExpr ()->findAssociatedFragment ();
44
44
}
45
45
46
- // There are no TLS LanaiMCExprs at the moment.
47
- void fixELFSymbolsInTLSFixups (MCAssembler & /* Asm*/ ) const override {}
48
-
49
46
static bool classof (const MCExpr *E) {
50
47
return E->getKind () == MCExpr::Target;
51
48
}
Original file line number Diff line number Diff line change @@ -81,9 +81,6 @@ class NVPTXFloatMCExpr : public MCTargetExpr {
81
81
void visitUsedExpr (MCStreamer &Streamer) const override {};
82
82
MCFragment *findAssociatedFragment () const override { return nullptr ; }
83
83
84
- // There are no TLS NVPTXMCExprs at the moment.
85
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
86
-
87
84
static bool classof (const MCExpr *E) {
88
85
return E->getKind () == MCExpr::Target;
89
86
}
@@ -122,9 +119,6 @@ class NVPTXGenericMCSymbolRefExpr : public MCTargetExpr {
122
119
void visitUsedExpr (MCStreamer &Streamer) const override {};
123
120
MCFragment *findAssociatedFragment () const override { return nullptr ; }
124
121
125
- // There are no TLS NVPTXMCExprs at the moment.
126
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
127
-
128
122
static bool classof (const MCExpr *E) {
129
123
return E->getKind () == MCExpr::Target;
130
124
}
Original file line number Diff line number Diff line change @@ -149,9 +149,6 @@ class PPCMCExpr : public MCTargetExpr {
149
149
return getSubExpr ()->findAssociatedFragment ();
150
150
}
151
151
152
- // There are no TLS PPCMCExprs at the moment.
153
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
154
-
155
152
bool evaluateAsConstant (int64_t &Res) const ;
156
153
157
154
static bool classof (const MCExpr *E) {
Original file line number Diff line number Diff line change @@ -54,9 +54,6 @@ class SystemZMCExpr : public MCTargetExpr {
54
54
return getSubExpr ()->findAssociatedFragment ();
55
55
}
56
56
57
- // There are no TLS SystemZMCExprs at the moment.
58
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
59
-
60
57
static bool classof (const MCExpr *E) {
61
58
return E->getKind () == MCExpr::Target;
62
59
}
Original file line number Diff line number Diff line change @@ -67,9 +67,6 @@ class X86MCExpr : public MCTargetExpr {
67
67
void visitUsedExpr (MCStreamer &Streamer) const override {}
68
68
MCFragment *findAssociatedFragment () const override { return nullptr ; }
69
69
70
- // There are no TLS X86MCExprs at the moment.
71
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
72
-
73
70
static bool classof (const MCExpr *E) {
74
71
return E->getKind () == MCExpr::Target;
75
72
}
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ class XtensaMCExpr : public MCTargetExpr {
47
47
return getSubExpr ()->findAssociatedFragment ();
48
48
}
49
49
50
- void fixELFSymbolsInTLSFixups (MCAssembler &Asm) const override {}
51
-
52
50
static VariantKind getVariantKindForName (StringRef name);
53
51
static StringRef getVariantKindName (VariantKind Kind);
54
52
};
You can’t perform that action at this time.
0 commit comments