[PATCH] D130950: [ORC][SimpleRemoteEPC] Fix android build error.
Sunho Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 16:40:58 PDT 2022
sunho created this revision.
sunho added reviewers: lhames, sgraenitz.
Herald added subscribers: danielkiss, StephenFan, hiraditya.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fixes android build error. The compiler seems to be not capable of dealing with double macro expansion in this piece of code.
https://github.com/llvm/llvm-project/issues/56867
https://reviews.llvm.org/D130950
Files:
llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
Index: llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
===================================================================
--- llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
+++ llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
@@ -220,7 +220,7 @@
dbgs() << "CallWrapper";
break;
default:
- llvm_unreachable("Invalid opcode");
+ assert(false && "Invalid opcode");
}
dbgs() << ", seqno = " << SeqNo
<< ", tag-addr = " << formatv("{0:x}", TagAddr.getValue())
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130950.449153.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/c916a1c6/attachment.bin>
More information about the llvm-commits
mailing list