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>
Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)
commitaa534cf43d2b05759b84c0db366ad39eba5b35b3
tree2e679deffb8deb4e214b08fa40cedcf4936d0e7b
parent85313dd5404550e4c07a9a7334a4a50d1e83009f
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