[PATCH] D107830: [AIX] Don't crash on unimplemented lowerRelativeReference
Jinsong Ji via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 10 08:26:24 PDT 2021
jsji updated this revision to Diff 365485.
jsji added a comment.
Format comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107830/new/
https://reviews.llvm.org/D107830
Files:
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Index: llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
===================================================================
--- llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -2456,7 +2456,8 @@
const MCExpr *TargetLoweringObjectFileXCOFF::lowerRelativeReference(
const GlobalValue *LHS, const GlobalValue *RHS,
const TargetMachine &TM) const {
- report_fatal_error("XCOFF not yet implemented.");
+ /* Not implemented yet, but don't crash, return nullptr. */
+ return nullptr;
}
XCOFF::StorageClass
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107830.365485.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210810/c9b6a567/attachment.bin>
More information about the llvm-commits
mailing list