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

Martell Malone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 03:18:55 PST 2017


martell added a comment.

In https://reviews.llvm.org/D29445#674672, @pcc wrote:

> The code changes look good, but would it be possible to change the test cases to verify that the output uses the correct code model?


I don't have a test case for that off hand, the user who was using this had a large table of data and code model large was not being respected by the linker.
I don't have access to that source file though. Looking through llvm and clang I can't initially find anything that does that either.
The clang test seems to be very similar to what I already have `clang/test/Driver/code-model.c`


Repository:
  rL LLVM

https://reviews.llvm.org/D29445





More information about the llvm-commits mailing list