[libvirt PATCH] src: add G_GNUC_NO_INLINE annotations for mocked symbols

Ján Tomko jtomko at redhat.com
Tue Aug 4 16:38:02 UTC 2020


On a Tuesday in 2020, Daniel P. Berrangé wrote:
>We should prevent inlining of symbols from the driver .so files that are
>mocked, as well as those in the main libvirt.so
>
>This isn't fixing any currently known problem, just trying to prevent
>future issues.
>

With clang, probably.

>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> scripts/mock-noinline.py       | 2 +-
> src/libxl/libxl_capabilities.h | 2 +-
> src/qemu/qemu_command.h        | 4 ++--
> src/qemu/qemu_hotplug.h        | 2 +-
> src/qemu/qemu_interface.h      | 2 +-
> src/qemu/qemu_monitor.h        | 2 +-
> src/qemu/qemu_monitor_json.h   | 2 +-
> src/qemu/qemu_process.h        | 4 ++--
> 8 files changed, 10 insertions(+), 10 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200804/abee37f0/attachment-0001.sig>


More information about the libvir-list mailing list