[PATCH] D32991: [ELF] Initial migration of AVR target

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 22:19:53 PDT 2017


> +RelExpr AVRTargetInfo::getRelExpr(uint32_t Type, const SymbolBody &S,
> +                                  const uint8_t *Loc) const {
> +  switch (Type) {
> +  default:
> +    return R_ABS;
> +  }
> +}

The default: case should be an error.

Cheers,
Rafael


More information about the llvm-commits mailing list