We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a54ad59 commit c46be96Copy full SHA for c46be96
llvm/include/llvm/MC/MCSymbol.h
@@ -252,7 +252,8 @@ class MCSymbol {
252
/// isInSection - Check if this symbol is defined in some section (i.e., it
253
/// is defined but not absolute).
254
bool isInSection() const {
255
- return isDefined() && !isAbsolute();
+ auto *F = getFragment(0);
256
+ return F && F != AbsolutePseudoFragment;
257
}
258
259
/// isUndefined - Check if this symbol undefined (i.e., implicitly defined).
0 commit comments