[libcxx-commits] [libcxxabi] 2c5fe14 - [libc++abi] Fix test on Android (#74753)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 13 09:48:58 PST 2023


Author: Maksim Panchenko
Date: 2023-12-13T12:48:54-05:00
New Revision: 2c5fe1486c36203e78daee6be571145a5d6084e2

URL: https://github.com/llvm/llvm-project/commit/2c5fe1486c36203e78daee6be571145a5d6084e2
DIFF: https://github.com/llvm/llvm-project/commit/2c5fe1486c36203e78daee6be571145a5d6084e2.diff

LOG: [libc++abi] Fix test on Android (#74753)

Follow up to #72727. The added test could not be executed on Android.

Added: 
    

Modified: 
    libcxxabi/test/native/x86_64/lpstart-zero.pass.sh.s

Removed: 
    


################################################################################
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 ea9dd0104c086b..e18134cf886391 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 <<


        


More information about the libcxx-commits mailing list