Switch to an assembler macro for CFI_RESTORE_STATE_AND_DEF_CFA
authorPeter Collingbourne <pcc@google.com>
Thu, 24 Jun 2021 17:17:39 +0000 (10:17 -0700)
committerRoger Shimizu <rosh@debian.org>
Sat, 28 May 2022 11:13:51 +0000 (12:13 +0100)
commitb497b93100b7bc2e16ffa99e341d6fbeab65c313
tree6473843d32bbdd388cfffa138e82a47f3b6806ef
parenta5ce8add5172ee62804a1a21170122fb5cd7cdd8
Switch to an assembler macro for CFI_RESTORE_STATE_AND_DEF_CFA

Newer versions of clang reject multiple assembler directives
on the same line, which breaks the preprocessor macro
CFI_RESTORE_STATE_AND_DEF_CFA. Fix it by making it an assembler
macro instead.

Bug: 191980979
Change-Id: I823ff9c66336931249d2bac40280b24ecdebd0cf
(cherry picked from commit 082659bcbf66c08e2ad9be88363c7ab88c50e114)

Gbp-Pq: Topic art
Gbp-Pq: Name add-assembler-macro.patch
art/runtime/arch/x86/asm_support_x86.S
art/runtime/arch/x86/memcmp16_x86.S
art/runtime/arch/x86/quick_entrypoints_x86.S
art/runtime/arch/x86_64/asm_support_x86_64.S
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S