Skip to content

xen: Switch to using -Og for debug builds

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xen/arm: Make make_cpus_node() compile at -Ogxen/arch/arm/domain_build.c+1 -11 reply
2/7x86/shim: Fix compilation at -Ogxen/arch/x86/pv/shim.c+3 -30 replies
3/7x86/sysctl: Make arch_do_sysctl() compile at -Ogxen/arch/x86/sysctl.c+2 -20 replies
4/7x86/irq: Make create_irq() compile at -Ogxen/arch/x86/irq.c+1 -10 replies
5/7xen/efi: Make efi_start() compile at -Ogxen/common/efi/boot.c+1 -10 replies
6/7x86/shadow: Make _shadow_prealloc() compile at -Ogxen/arch/x86/mm/shadow/common.c+1 -11 reply
7/7xen: Use -Og for debug builds when availablexen/Makefile+3 -10 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJan BeulichTim Deegan
SeriesA-b
1/7
2/7
3/7
4/7
5/7
6/7A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] xen: Switch to using -Og for debug builds

As with the toolstack side, we ought to use -Og for debug builds.

All fixes are trivial. The first 3 are understandable, given reduced optimisations. The next 3 are, AFAICT, bogus diagnostics.

Andrew Cooper (7):
xen/arm: Make make_cpus_node() compile at -Og x86/shim: Fix compilation at -Og x86/sysctl: Make arch_do_sysctl() compile at -Og x86/irq: Make create_irq() compile at -Og xen/efi: Make efi_start() compile at -Og x86/shadow: Make _shadow_prealloc() compile at -Og
xen: Use -Og for debug builds when available

 xen/Makefile                    | 4 +++-
 xen/arch/arm/domain_build.c     | 2 +-
 xen/arch/x86/irq.c              | 2 +-
 xen/arch/x86/mm/shadow/common.c | 2 +-
 xen/arch/x86/pv/shim.c          | 6 +++---
 xen/arch/x86/sysctl.c           | 4 ++--
 xen/common/efi/boot.c           | 2 +-
 7 files changed, 12 insertions(+), 10 deletions(-)
Signature · 1 line
2.11.0