[PATCH] D67385: Pass -mcmodel to LTO plugin

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 23 07:01:20 PDT 2019


tejohnson added a comment.

Typically -mcmodel is passed to the clang compile invocation which sets a module flag in the IR, which is then used by LTO (see calls to Module::setCodeModel() and Module::getCodeModel()). Why is it necessary to pass through the mcmodel passed to the link invocation?


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67385/new/

https://reviews.llvm.org/D67385





More information about the cfe-commits mailing list