Commit 060f987
authored
test: fix toolchain for arm64 hosts (#806)
* test: fix toolchain for arm64 hosts
On arm64 hosts lld-link seems to default to /machine:ARM64 which is incorrect for the cross-compile u
se-case. Set the machine type to x64.
* test: use abort() to fake a crash
__builtin_trap() is caught on ARM64 such that the fuzzing engine cannot act anymore. Use abort() to cause an abnormal program termination.1 parent 6d9c7cb commit 060f987
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
0 commit comments