Displaying 1 result from an estimated 1 matches for "aarch64mcexpr".
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...tLower.cpp
index 7ce5ce3..e7c7f97 100644
--- a/lib/Target/AArch64/AArch64MCInstLower.cpp
+++ b/lib/Target/AArch64/AArch64MCInstLower.cpp
@@ -36,10 +36,16 @@ AArch64AsmPrinter::lowerSymbolOperand(const MachineOperand &MO,
switch (MO.getTargetFlags()) {
case AArch64II::MO_GOT:
- Expr = AArch64MCExpr::CreateGOT(Expr, OutContext);
+ if (this->Subtarget->isTargetDarwin())
+ Expr = AArch64MCExpr::CreateGOTDarwin(Expr, OutContext);
+ else
+ Expr = AArch64MCExpr::CreateGOT(Expr, OutContext);
break;
case AArch64II::MO_GOT_LO12:
- Expr = AArch64MCExpr::CreateGOTLo12(Ex...