[all-commits] [llvm/llvm-project] 8be890: [ORC-RT] Add two new jit-dlopen testcases, and swi...

lhames via All-commits all-commits at lists.llvm.org
Wed Feb 9 19:12:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8be890b8cd3624539568a01f1760171b2674f220
      https://github.com/llvm/llvm-project/commit/8be890b8cd3624539568a01f1760171b2674f220
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-jit-dlopen-nested.c
    R compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-jit-dlopen.S
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-jit-dlopen.c
    A compiler-rt/test/orc/TestCases/Darwin/x86-64/trivial-jit-re-dlopen.c

  Log Message:
  -----------
  [ORC-RT] Add two new jit-dlopen testcases, and switch to .c for dlopen tests.

We don't need precise control over the low-level behavior of these testcases so
C should be preferred for readability.

The new testcases test (1) the base dlopen case (running initializers and
deinitializers), and (2) the serial case of dlopen; dlclose; dlopen; dlclose,
where we expect the initializers and deinitializers to be run twice.




More information about the All-commits mailing list