diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2021-07-13 11:15:03 +0200 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2021-07-13 11:15:03 +0200 |
commit | 45430983ef8235f2a018e7daa10a0ad71ef7b85c (patch) | |
tree | 8c1724faafcabaad7296190f4ea220cba485a560 /llvm/lib/IR/Function.cpp | |
parent | 1d8030053d46b89e3677986d059065c6a2e7a2e1 (diff) | |
download | llvm-45430983ef8235f2a018e7daa10a0ad71ef7b85c.zip llvm-45430983ef8235f2a018e7daa10a0ad71ef7b85c.tar.gz llvm-45430983ef8235f2a018e7daa10a0ad71ef7b85c.tar.bz2 |
[sanitizer_common] Define internal_usleep on Solaris
The Solaris/amd64 buildbot
<https://lab.llvm.org/staging/#/builders/101/builds/2845> has recently been
broken several times, at least one of those remains unfixed:
[63/446] Generating Sanitizer-x86_64-Test
[...]
Undefined first referenced
symbol in file
_ZN11__sanitizer15internal_usleepEy /opt/llvm-buildbot/home/solaris11-amd64/clang-solaris11-amd64/stage1/projects/compiler-rt/lib/sanitizer_common/tests/libRTSanitizerCommon.test.x86_64.a(sanitizer_common.cpp.o)
ld: fatal: symbol referencing errors
Thist patch fixes it by defining the missing `internal_usleep`.
Tested on `amd64-pc-solaris2.11.`
Differential Revision: https://reviews.llvm.org/D105878
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions