llvm-project/compiler-rt/lib
Rainer Orth 45430983ef [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
2021-07-13 11:15:03 +02:00
..
BlocksRuntime
asan Revert "sanitizer_common: add simpler ThreadRegistry ctor" 2021-07-12 12:04:12 -07:00
builtins Avoid unnecessary AArch64 DSB in __clear_cache in some situations. 2021-06-17 07:45:06 +01:00
cfi sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
crt [RISCV][crt] support building without init_array 2020-12-01 17:17:50 +03:00
dfsan Revert "Prepare Compiler-RT for GnuInstallDirs, matching libcxx" 2021-07-10 10:45:54 +03:00
fuzzer Revert "Refactor mutation strategies into a standalone library" 2021-07-02 09:45:11 -07:00
gwp_asan [GWP-ASan] Change unreachable -> trap to work around DCE bug. 2021-07-08 13:06:42 -07:00
hwasan [compiler-rt][hwasan] Refactor kAliasRegionStart usage 2021-07-12 16:33:05 -07:00
interception [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
lsan Revert "sanitizer_common: add simpler ThreadRegistry ctor" 2021-07-12 12:04:12 -07:00
memprof Revert "sanitizer_common: add simpler ThreadRegistry ctor" 2021-07-12 12:04:12 -07:00
msan [NFC][msan] Fix assigned-unused warning 2021-06-02 00:09:02 -07:00
orc [ORC-RT] Fix void function handling in the WrapperFunction utility. 2021-06-15 15:49:40 +10:00
profile Revert "[InstrProfiling] Use external weak reference for bias variable" 2021-07-02 09:05:12 -04:00
safestack [sanitizer] Set IndentPPDirectives: AfterHash in .clang-format 2021-05-03 13:49:41 -07:00
sanitizer_common [sanitizer_common] Define internal_usleep on Solaris 2021-07-13 11:15:03 +02:00
scudo [NFC][scudo] Clang format a file 2021-07-12 22:26:54 -07:00
stats compiler-rt: Rename .cc file in lib/{dfsan,stats,ubsan_minimal} to .cpp 2019-08-01 12:41:23 +00:00
tsan sanitizer_common: add thread safety annotations 2021-07-12 11:46:49 +02:00
ubsan [asan] Remove Asan, Ubsan support of RTEMS and Myriad 2021-06-15 12:59:05 -07:00
ubsan_minimal [compiler-rt] Suppress -Wunused-result due to ::write when _FORTIFY_SOURCE>0 in glibc 2020-10-12 09:57:12 -07:00
xray [compiler-rt][iwyu] explicitly includes `<new>` in xray_utils.cpp 2021-07-05 21:46:42 +00:00
CMakeLists.txt [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. 2021-04-24 16:00:20 -07:00