================
@@ -2438,19 +2438,40 @@
ARMTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
auto PtrVt = getPointerTy(DAG.getDataLayout());
if (Subtarget->genLongCalls()) {
- assert((!isPositionIndependent() || TT.isOSWindows()) &&
- "long-calls codegen is not position independent!");
+ bool isPIC = isPositionIndependent() && !TT.isOSWindows();
+ if (isPIC && Subtarget->genExecuteOnly())
+ report_fatal_error(Twine("long-calls with execute-only and "
----------------
efriedma-quic wrote:
reportFatalUsageError
https://github.com/llvm/llvm-project/pull/147313
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits