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>
Tue, 2 Aug 2022 15:23:27 +0000 (16:23 +0100)
commit01ad26c4c3847d0fba2a02baa357e78f8ce63088
treea5d6de192ab7294c576cc3c140f120c8ce5191f5
parent3d136eb629702d306f010767448b250b6c643f3c
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