From 2c5fe1486c36203e78daee6be571145a5d6084e2 Mon Sep 17 00:00:00 2001 From: Maksim Panchenko Date: Wed, 13 Dec 2023 09:48:54 -0800 Subject: [PATCH] [libc++abi] Fix test on Android (#74753) Follow up to #72727. The added test could not be executed on Android. --- libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s b/libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s index ea9dd0104c08..e18134cf8863 100644 --- a/libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s +++ b/libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s @@ -1,7 +1,8 @@ # RUN: %{cxx} %{flags} %s %{link_flags} -no-pie -o %t.exe -# RUN: %t.exe +# RUN: %{exec} %t.exe # REQUIRES: linux && target={{x86_64-.+}} +# UNSUPPORTED: target={{.+-android.*}} # UNSUPPORTED: no-exceptions ## Check that libc++abi works correctly when LPStart address is explicitly set @@ -82,7 +83,7 @@ GCC_except_table0: .byte 155 # @TType Encoding = indirect pcrel sdata4 .uleb128 .Lttbase0-.Lttbaseref0 .Lttbaseref0: - .byte 11 # Call site Encoding = udata4 + .byte 11 # Call site Encoding = sdata4 .uleb128 .Lcst_end0-.Lcst_begin0 .Lcst_begin0: .long .Lfunc_begin0-.Lfunc_begin0 # >> Call Site 1 <<