unicorn/qemu/accel/tcg
Peter Maydell 2c926832bb accel/tcg: Add URL of clang bug to comment about our workaround
In cpu_exec() we have a longstanding workaround for compilers which
do not correctly implement the part of the sigsetjmp()/siglongjmp()
spec which requires that local variables which are not changed
between the setjmp and the longjmp retain their value.

I recently ran across the upstream clang bug report for this; add a
link to it to the comment describing the workaround, and generally
expand the comment, so that we have a reasonable chance in future of
understanding why it's there and determining when we can remove it,
assuming clang eventually fixes the bug.

Remove the /* buggy compiler */ comments on the #else and #endif:
they don't add anything to understanding and are somewhat misleading
since they're sandwiching the code path for *non*-buggy compilers.

Backports e6a41a045c298538d303cd8fe8d7ae29a0c066ad
2021-03-04 18:32:51 -05:00
..
atomic_template.h atomic_template: fix indentation in GEN_ATOMIC_HELPER 2019-11-28 02:38:07 -05:00
cpu-exec-common.c tcg: Fix LGPL version number 2019-02-03 17:55:28 -05:00
cpu-exec.c accel/tcg: Add URL of clang bug to comment about our workaround 2021-03-04 18:32:51 -05:00
cputlb.c cpu: Move tlb_fill to tcg_ops 2021-03-04 17:01:55 -05:00
Makefile.objs tcg: move tcg backend files into accel/tcg/ 2018-03-13 11:48:15 -04:00
tcg-runtime-gvec.c tcg: Implement gvec support for rotate by vector 2020-06-14 21:43:46 -04:00
tcg-runtime.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-12 11:16:16 -04:00
tcg-runtime.h tcg: Use memset for large vector byte replication 2021-03-03 19:28:15 -05:00
translate-all.c tcg: Restart code generation when we run out of temps 2021-03-04 15:37:05 -05:00
translate-all.h tcg: Synchronize with qemu 2019-04-26 09:32:20 -04:00
translate-common.c tcg: Fix LGPL version number 2019-02-03 17:55:28 -05:00
translator.c unicorn: fix uc_emu_start until if end instruction is in another tlb 2020-08-05 03:18:51 +09:00