File tree Expand file tree Collapse file tree 5 files changed +15
-19
lines changed
third_party/libcxxabi/test Expand file tree Collapse file tree 5 files changed +15
-19
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ set -- --regex-c='/^extern [^(]*(\*const \([^)]*\))(/\1/b' "$@"
66
66
# struct WorstSoftwareEver;
67
67
set -- --regex-c=' /^struct.*;$/uehocruehcroue/b' " $@ "
68
68
69
- exec $TAGS \
69
+ build/run $TAGS \
70
70
-e \
71
71
--langmap=c:.c.h \
72
72
--exclude=libc/nt/struct/imagefileheader.internal.h \
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- if printf ' %s\n' " $* " | grep aarch64 > /dev/null 2>&1 ; then
3
- if [ ! -f o/third_party/qemu/qemu-aarch64 ]; then
4
- make -j8 o/third_party/qemu/qemu-aarch64
5
- fi
6
- exec o/third_party/qemu/qemu-aarch64 " $@ "
2
+ UNAMEM=$( uname -m)
3
+ UNAMES=$( uname -s)
4
+ if [ x" $UNAMES " = x" Darwin" ] && [ x" $UNAMEM " = x" arm64" ]; then
5
+ exec ape " $@ "
7
6
else
8
7
exec " $@ "
9
8
fi
Original file line number Diff line number Diff line change @@ -43,13 +43,13 @@ _longjmp:
43
43
mov 48 (%rdi ),%r15
44
44
jmp *56 (%rdi )
45
45
#elif defined(__aarch64__)
46
- ldp x19,x20 ,[x0,#0]
47
- ldp x21 ,x22,[x0,#16]
46
+ ldp x29,x30 ,[x0,#0]
47
+ ldp x2 ,x22,[x0,#16]
48
48
ldp x23,x24,[x0,#32]
49
49
ldp x25,x26,[x0,#48]
50
50
ldp x27,x28,[x0,#64]
51
- ldp x29,x30 ,[x0,#80]
52
- ldr x2 ,[x0,#104]
51
+ ldp x19,x20 ,[x0,#80]
52
+ ldr x21 ,[x0,#104]
53
53
mov sp,x2
54
54
ldp d8 ,d9,[x0,#112]
55
55
ldp d10,d11,[x0,#128]
Original file line number Diff line number Diff line change @@ -44,14 +44,14 @@ _setjmp:
44
44
xor %eax ,%eax
45
45
ret
46
46
#elif defined(__aarch64__)
47
- stp x19,x20,[x0,#0]
48
- stp x21,x22,[x0,#16]
47
+ mov x2,sp
48
+ stp x29,x30,[x0,#0]
49
+ stp x2,x22,[x0,#16]
49
50
stp x23,x24,[x0,#32]
50
51
stp x25,x26,[x0,#48]
51
52
stp x27,x28,[x0,#64]
52
- stp x29,x30,[x0,#80]
53
- mov x2,sp
54
- str x2,[x0,#104]
53
+ stp x19,x20,[x0,#80]
54
+ str x21,[x0,#104]
55
55
stp d8,d9,[x0,#112]
56
56
stp d10,d11,[x0,#128]
57
57
stp d12,d13,[x0,#144]
Original file line number Diff line number Diff line change 1
1
# -*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
2
2
# ── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘
3
3
4
- ifeq ($(MODE ) , )
5
-
6
4
PKGS += THIRD_PARTY_LIBCXXABI_TEST
7
5
8
6
THIRD_PARTY_LIBCXXABI_TEST_A = o/$(MODE ) /third_party/libcxxabi/test/test.a
@@ -109,6 +107,7 @@ THIRD_PARTY_LIBCXXABI_TEST_CHECKS = \
109
107
110
108
THIRD_PARTY_LIBCXXABI_TEST_DIRECTDEPS = \
111
109
LIBC_NEXGEN32E \
110
+ LIBC_LOG \
112
111
THIRD_PARTY_LIBCXX \
113
112
THIRD_PARTY_LIBCXXABI
114
113
@@ -168,8 +167,6 @@ o/$(MODE)/third_party/libcxxabi/test/incomplete_type.sh.com.dbg: \
168
167
$(APE_NO_MODIFY_SELF )
169
168
@$(APELINK )
170
169
171
- endif
172
-
173
170
o/$(MODE ) /third_party/libcxxabi/test/catch_multi_level_pointer.pass.o : private COPTS += -O0
174
171
o/$(MODE ) /third_party/libcxxabi/test/catch_multi_level_pointer.pass.o : private QUOTA += -C30 -M4000m
175
172
You can’t perform that action at this time.
0 commit comments