diff options
author | Omair Javaid <omair.javaid@linaro.org> | 2025-06-18 19:23:54 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-18 19:23:54 +0500 |
commit | 6f4add34801e6ce02a5ebc96df4d1ca479125649 (patch) | |
tree | d4e9b1da580c1578a9c898aa4114f4aadd9f6dd7 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | ee070d08163ac09842d9bf0c1315f311df39faf1 (diff) | |
download | llvm-6f4add34801e6ce02a5ebc96df4d1ca479125649.zip llvm-6f4add34801e6ce02a5ebc96df4d1ca479125649.tar.gz llvm-6f4add34801e6ce02a5ebc96df4d1ca479125649.tar.bz2 |
[compiler-rt] [Fuzzer] Fix ARMv7 test link failure by linking unwinder (#144495)
compiler-rt/lib/fuzzer/tests build was failing on armv7, with undefined
references to unwinder symbols, such as __aeabi_unwind_cpp_pr0.
This occurs because the test is built with `-nostdlib++` but `libunwind`
is not explicitly linked to the final test executable.
This patch resolves the issue by adding CMake logic to explicitly link
the required unwinder to the fuzzer tests, inspired by the same solution
used to fix Scudo build failures by https://reviews.llvm.org/D142888.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions