[PATCH] D39634: [COFF] Handle ARM64 in getDefaultType
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 4 15:16:15 PDT 2017
mstorsjo created this revision.
Herald added subscribers: kristof.beyls, aemerson.
For some reasons, I hadn't triggered this `llvm_unreachable` until now.
I didn't add any test because I'm not really sure of what would be a sensible test for it...
https://reviews.llvm.org/D39634
Files:
COFF/Chunks.cpp
Index: COFF/Chunks.cpp
===================================================================
--- COFF/Chunks.cpp
+++ COFF/Chunks.cpp
@@ -512,6 +512,7 @@
uint8_t Baserel::getDefaultType() {
switch (Config->Machine) {
case AMD64:
+ case ARM64:
return IMAGE_REL_BASED_DIR64;
case I386:
case ARMNT:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39634.121602.patch
Type: text/x-patch
Size: 312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171104/c38b680c/attachment.bin>
More information about the llvm-commits
mailing list