[PATCH] D13055: [ELF2] Handle -m option

Rafael Espíndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 13:36:01 PDT 2015


And please rebase the patch:

$ git apply -p0 ~/Downloads/D13055.diff
error: patch failed: ELF/Config.h:28
error: ELF/Config.h: patch does not apply
error: patch failed: ELF/Driver.cpp:47
error: ELF/Driver.cpp: patch does not apply
error: patch failed: ELF/Options.td:49
error: ELF/Options.td: patch does not apply


On 28 September 2015 at 16:34, Rafael Ávila de Espíndola
<llvm-commits at lists.llvm.org> wrote:
> rafael added inline comments.
>
> ================
> Comment at: ELF/Driver.cpp:51
> @@ -49,2 +50,3 @@
>
> -static std::unique_ptr<InputFile> createFile(MemoryBufferRef MB) {
> +static uint16_t getElfMachineType(StringRef Object) {
> +  using namespace object;
> ----------------
> Drop this function. You can use the existing one.
>
>
> http://reviews.llvm.org/D13055
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list