[PATCH] D138221: [HIP] Fix lld failure when devie object is empty

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 19 15:49:24 PST 2022


MaskRay requested changes to this revision.
MaskRay added inline comments.
This revision now requires changes to proceed.


================
Comment at: lld/ELF/Driver.cpp:179
           .Case("msp430elf", {ELF32LEKind, EM_MSP430})
+          .Case("elf64_amdgpu", {ELF64LEKind, EM_AMDGPU})
           .Default({ELFNoneKind, EM_NONE});
----------------
This needs an `emulation-amdgpu.s` test.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138221/new/

https://reviews.llvm.org/D138221



More information about the cfe-commits mailing list