summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-07-05 09:40:13 +0100
committerAlex Bennée <alex.bennee@linaro.org>2024-07-05 12:33:41 +0100
commit7e3798eddde9bcbf3e83ddcd236eeca4c413f34f (patch)
tree59bdec325951c6a49e19470124e0873e05a4a3fb /scripts/qapi/types.py
parentaa8246d8b4f81d5a552837c825fa4c72c55e1de9 (diff)
downloadfocaccia-qemu-7e3798eddde9bcbf3e83ddcd236eeca4c413f34f.tar.gz
focaccia-qemu-7e3798eddde9bcbf3e83ddcd236eeca4c413f34f.zip
tests/tcg/minilib: Constify digits in print_num
This avoids a memcpy to the stack when compiled with clang.
Since we don't enable optimization, nor provide memcpy,
this results in an undefined symbol error at link time.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240630190050.160642-2-richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240705084047.857176-7-alex.bennee@linaro.org>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions