diff options
| author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-08-06 08:56:46 +0100 |
|---|---|---|
| committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2020-08-06 09:16:52 +0100 |
| commit | 6148cca70888ead020a808279043fd013ca72a2a (patch) | |
| tree | 417fbc0877e3e7b2cd70e1fc0c9bca7bba93274d /lldb/test/API/python_api/target/TestTargetAPI.py | |
| parent | 3b3cdcc7a557a7dbd53e9e8cc311247d6df46c5c (diff) | |
[compiler-rt] Fix build of Sanitizer-Test_Nolibc after D80648
Running ninja check-sanitizer fails for after that patch (commit
058f5f6fd813d1ee1480497394d6fd44e65ec62b) with the following error:
libRTSanitizerCommon.test.nolibc.x86_64.a(sanitizer_posix.cpp.o): In
function `__sanitizer::GetNamedMappingFd(char const*, unsigned long,
int*)':
..../llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp:358:
undefined reference to `fcntl'
clang-12: error: linker command failed with exit code 1 (use -v to see
invocation)
This patch works around the problem by only calling fcntl if O_CLOEXEC
is not defined.
Reviewed By: plopresti
Differential Revision: https://reviews.llvm.org/D85114
Diffstat (limited to 'lldb/test/API/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
