[PATCH] D29445: LTO: add a code-model flag

Martell Malone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 07:33:58 PST 2017


martell added a comment.

> ! @pcc wrote:
>  I would suggest adding a function to `lld/lib/Core/TargetOptionsCommandFlags.cpp` that returns `CMModel`, and then use that function in `ELF/LTO.cpp` to set `Conf.CodeModel`.

Ahh this was added only a few days ago. I wasn't working on latest HEAD so I didn't see that and ended up creating it before realising. :)
This should be good to merge now I think?


Repository:
  rL LLVM

https://reviews.llvm.org/D29445





More information about the llvm-commits mailing list