[PATCH] D61992: [ARM] Support .reloc *, R_ARM_NONE, *

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 03:13:35 PDT 2019


peter.smith added a comment.

I get an assertion failure from this patch on the armv7eb-linux-gnueabi test case: llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp:872! (the llvm_unreachable)

  /// getFixupKindContainerSizeBytes - The number of bytes of the
  /// container involved in big endian.
  static unsigned getFixupKindContainerSizeBytes(unsigned Kind) {
    switch (Kind) {
    default:
      llvm_unreachable("Unknown fixup kind!");
  
    case FK_Data_1:
      return 1;
    case FK_Data_2:
      return 2;
    case FK_Data_4:
      return 4;

Looks like you'll need to add case ARM::fixup_arm_NONE:


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61992





More information about the llvm-commits mailing list