]> git.proxmox.com Git - mirror_qemu.git/commit - include/exec/helper-proto.h
tcg: Mark tcg helpers noinline to avoid an issue with LTO
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 19 Jan 2023 16:46:16 +0000 (06:46 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Jan 2023 00:39:48 +0000 (14:39 -1000)
commit6aa89be5c5ff9a534280b06fad9b01604e2155cb
treecf6ffa0ea9620d850652cc270c0541f34463f830
parent2466bb3b083f965ef1ec12368c07e7d1e2f0b4c4
tcg: Mark tcg helpers noinline to avoid an issue with LTO

Marking helpers __attribute__((noinline)) prevents an issue
with GCC's ipa-split pass under --enable-lto.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1454
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Idan Horowitz <idan.horowitz@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/exec/helper-proto.h