Skip to content

Commit

Permalink
Switch
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Sep 12, 2024
1 parent 584e05e commit b38c038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/SBF/MCTargetDesc/SBFMCCodeEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ unsigned SBFMCCodeEmitter::getMachineOpValue(const MCInst &MI,
const MCSymbolRefExpr * SymbolExpr = dyn_cast<MCSymbolRefExpr>(Expr);
const MCSymbol& Sym = SymbolExpr->getSymbol();
if (Sym.isInSection()) {
Fixups.push_back(MCFixup::create(0, Expr, FK_SecRel_8));
} else {
Fixups.push_back(MCFixup::create(0, Expr, FK_Data_8));
} else {
Fixups.push_back(MCFixup::create(0, Expr, FK_SecRel_8));
}
// std::cout << "Name: " << MySym.getName().str() << std::endl;
// std::cout << "Is absolute: " << MySym.isAbsolute() << std::endl;
Expand Down

0 comments on commit b38c038

Please sign in to comment.