[PATCH 13/15] arm64: fix mrs_s/msr_s macros for clang LTO
From: samitolvanen@google.com (Sami Tolvanen)
Date: 2017-11-09 16:51:51
Also in:
lkml
From: samitolvanen@google.com (Sami Tolvanen)
Date: 2017-11-09 16:51:51
Also in:
lkml
On Thu, Nov 09, 2017 at 07:48:06AM +0300, Maxim Kuvyrkov wrote:
Regarding CONFIG_* options, I would expect most of the configuration changes to be equally valid for both GCC's and Clang's LTO support. Sami, I don't think it's fair to ask you to support both Clang and GCC in your patchset, but, where changes are obviously toolchain-agnostic, could you use CONFIG_LTO? And use CONFIG_LTO_CLANG for Clang-specific parts?
Sure, using CONFIG_LTO for common code and CONFIG_LTO_CLANG for clang- specific parts sounds good. Sami