Revision 7edd9ddc
ID | 7edd9ddc979f112287ff5184590830c67ea991bf |
tests/test-int128: Don't use noclone attribute on clang
clang doesn't support the noclone attribute and emits a warning about
it. Fortunately clang also implements a mechanism for asking if a particular
attribute is implemented; use it. We assume that if the compiler doesn't
support has_attribute() then it must be GCC and must support __noclone.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Files
- added
- modified
- copied
- renamed
- deleted