[PATCH] D29282: [ELF] - Report filename for unknown relocation error.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 09:31:18 PST 2017
George Rimar via Phabricator <reviews at reviews.llvm.org> writes:
> ===================================================================
> --- test/ELF/invalid/invalid-relocation-x64.test
> +++ test/ELF/invalid/invalid-relocation-x64.test
> @@ -26,5 +26,5 @@
> Type: R_X86_64_NONE
>
> # RUN: not ld.lld %p/Inputs/invalid-relocation-x64.elf -o %t2 2>&1 | FileCheck %s
> -# CHECK: unknown relocation type: Unknown (152)
> -# CHECK: unknown relocation type: Unknown (153)
> +# CHECK: {{.*}}: unknown relocation type: Unknown (152)
> +# CHECK: {{.*}}: unknown relocation type: Unknown (153)
You can probably use invalid-relocation-x64.elf in the check
pattern. The full patch is not known, but the filename should be stable.
This is fine with me. Rui?
Cheers,
Rafael
More information about the llvm-commits
mailing list