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)
committerJochen Sprickerhof <jspricke@debian.org>
Wed, 11 Jan 2023 08:19:44 +0000 (08:19 +0000)
commit2e92b0bcc33f45beef7947de7e89efd4e28db50b
tree49358841335384ea8c785889f90f3624850c0aa4
parent74241182eeeca01735634ca3e0f0ea726bbd40ce
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