Commit 56b669c
committed
Disable libunwind cross-architecture unwinding
Building with _LIBUNWIND_IS_NATIVE_ONLY disables code for cross-architecture unwinding
it is disabled by default in LLVM [1], replicate the cmake behavior in bootstrap process
It also enables some additional code that handles PAC-specific unwind info
it helps compiling with the -mbranch-protection=pac or -mbranch-protection=standard flags
This fixes build with clang/musl on aarch64
[1] llvm/llvm-project@85624c5
Signed-off-by: Khem Raj <raj.khem@gmail.com>1 parent 45f256d commit 56b669c
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
| 1433 | + | |
1433 | 1434 | | |
1434 | 1435 | | |
1435 | 1436 | | |
| |||
1447 | 1448 | | |
1448 | 1449 | | |
1449 | 1450 | | |
1450 | | - | |
1451 | 1451 | | |
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
1455 | | - | |
1456 | 1455 | | |
1457 | 1456 | | |
1458 | 1457 | | |
| |||
0 commit comments