[PATCH] D29273: [ELF] - Added partial support for --emit-relocs (no --gc-section case)
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 11:16:45 PST 2017
> Index: test/ELF/emit-relocs.s
> ===================================================================
> --- test/ELF/emit-relocs.s
> +++ test/ELF/emit-relocs.s
> @@ -0,0 +1,98 @@
> +# REQUIRES: x86
> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/emit-relocs.s -o %t2.o
You can write this test with one file by having relocations against weak
and undefined symbols, no? Is there any advantage to using two?
Cheers,
Rafael
More information about the llvm-commits
mailing list