[PATCH] D27973: [ELF] - Do not call fatal() in Target.cpp, call error() instead.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 05:43:13 PST 2016
Using error for "unrecognized reloc" probably makes sense. Can you
change the test to have two unrecognized relocations?
> +## invalid-relocation-x64.elf contains relocation with invalid index
It is not the index that is the problem here...
> +# RUN: not ld.lld %p/Inputs/invalid-relocation-x64.elf -o %t2 2>&1 | FileCheck %s
> +# CHECK: unrecognized reloc 153
Cheers,
Rafael
More information about the llvm-commits
mailing list