[PATCH] D50803: [gold-plugin] Add "obj-files" option

Bill Wendling via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 16 11:25:11 PDT 2018


void reclaimed this revision.
void added a comment.

I may have spoken too soon. `obj_path` requires a path to the filename you want to use. This is okay, but when used in a `Makefile` it becomes difficult:

  LDFLAGS_GOLD := -plugin $(CLANG_LIBS)/LLVMgold.so               \
          -plugin-opt=-code-model=kernel                          \
          -plugin-opt=obj_path=

What should be the value for `obj_path` here? I can't specify a single filename as the output files from one run of `ld.gold` will overwrite previous ones.


Repository:
  rL LLVM

https://reviews.llvm.org/D50803





More information about the llvm-commits mailing list