llvm-project/compiler-rt/test
Lang Hames 5255ca9726 [llvm-jitlink] Update handling of library options.
Adds -L<search-path> and -l<library> options that are analogous to ld's
versions.

Each instance of -L<search-path> or -l<library> will apply to the most recent
-jd option on the command line (-jd <name> creates a JITDylib with the given
name). Library names will match against JITDylibs first, then llvm-jitlink will
look through the search paths for files named <search-path>/lib<library>.dylib
or <search-path>/lib<library>.a.

The default "main" JITDylib will link against all JITDylibs created by -jd
options, and all JITDylibs will link against the process symbols (unless
-no-process-symbols is specified).

The -dlopen option is renamed -preload, and will load dylibs into the JITDylib
for the ORC runtime only.

The effect of these changes is to make it easier to describe a non-trivial
program layout to llvm-jitlink for testing purposes. E.g. the following
invocation describes a program consisting of three JITDylibs: "main" (created
implicitly) containing main.o, "Foo" containing foo1.o and foo2.o, and linking
against library "bar" (not a JITDylib, so it must be a .dylib or .a on disk)
and "Baz" (which is a JITDylib), and "Baz" containing baz.o.

llvm-jitlink \
  main.o \
  -jd Foo foo1.o foo2.o -L${HOME}/lib -lbar -lBaz
  -jd Baz baz.o
2021-12-15 13:49:30 +11:00
..
BlocksRuntime [compiler-rt] NFC: Fix trivial typo 2021-09-04 14:12:58 +05:30
asan [ASan] Shared optimized callbacks implementation. 2021-12-14 15:55:14 +00:00
builtins [VE] Disable incompatible compiler-rt tests 2021-11-12 08:40:03 +01:00
cfi [compiler-rt] -fsanitize=cfi is not supported on Darwin 2021-03-17 13:28:42 -07:00
crt [CRT][LIT] split target_cflags using shlex 2021-08-19 21:44:20 -04:00
dfsan [nfc][dfsan] Remove obsolete comment 2021-11-18 18:37:13 -08:00
fuzzer [libFuzzer] Remove entropic-scale-per-exec-time.test. 2021-12-09 12:20:06 -08:00
gwp_asan [compiler-rt][GWP-ASAN] Disable 2 tests on Armv7 Linux 2021-07-19 10:45:11 +00:00
hwasan [sanitizers] include build ids in stacks on linux. 2021-12-10 14:24:03 -08:00
interception
lsan [lsan] Deflake fork_and_leak test 2021-12-02 18:06:04 -08:00
memprof [memprof] Remove the "Live on exit:" print for text format. 2021-11-22 13:30:48 -08:00
msan [NFC][sanitizer] Add test for command line flag for enable-noundef-analysis. 2021-12-03 15:44:36 -08:00
orc [llvm-jitlink] Update handling of library options. 2021-12-15 13:49:30 +11:00
profile [NFC][compiler-rt][profile] Remove non-Posix -h option from test 2021-10-14 15:08:38 +00:00
safestack compiler-rt: Remove .cc from all lit config files 2019-08-05 19:25:35 +00:00
sanitizer_common [NFC][asan] XFAIL a test on THUMB 2021-12-13 12:07:13 -08:00
scudo Revert "[Scudo] Make -fsanitize=scudo use standalone. Migrate tests." 2021-05-26 10:50:26 -07:00
shadowcallstack compiler-rt: Remove .cc from all lit config files 2019-08-05 19:25:35 +00:00
tsan tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
ubsan Fix file extension of alignment-assumption-ignorelist.cppp test 2021-11-30 17:21:46 +01:00
ubsan_minimal [test] Fix unused FileCheck prefixes in compiler-rt 2021-02-01 22:32:13 -08:00
xray Fix xray fdr mode to allow multiple flushes 2021-02-10 12:57:24 +11:00
.clang-format [tests][sanitizers] Don't reflow comments 2021-08-03 12:54:00 -07:00
.clang-tidy [NFC][compiler-rt] Refine .clang-tidy checks 2020-09-05 15:42:15 -07:00
CMakeLists.txt [ORC-RT] Add target dependencies to ORC-RT regression tests. 2021-09-28 22:08:47 -07:00
lit.common.cfg.py [msan] Disabled test failing on new GLIBC 2021-11-15 11:18:52 -08:00
lit.common.configured.in [compiler-rt][test] Add shared_unwind requirement 2021-10-06 11:10:36 -07:00