sim: Add a typetraits style mechanism to test for VarArgs.
authorGabe Black <gabeblack@google.com>
Tue, 17 Dec 2019 05:48:36 +0000 (21:48 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 7 Feb 2020 07:36:39 +0000 (07:36 +0000)
commit206aa5b280268b011596eb9ae247aca50ce7b9c5
tree8e975073b68121c767ac0bb9fa0bdb26bba08e08
parent4d039064b0b16c957c62f51b0879b7244e51960e
sim: Add a typetraits style mechanism to test for VarArgs.

This family of types can be cumbersome to check for when building
ABI rules. This struct template makes that a little easier.

Change-Id: Ic3a1b8424f8ca04564f8228365371b357f33276c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23750
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/sim/guest_abi.hh
src/sim/guest_abi.test.cc