[clang] [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (PR #117475)
Yuxuan Chen via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 13 13:50:00 PST 2024
================
@@ -0,0 +1,20 @@
+// REQUIRES: host-supports-jit, x86_64-linux
+
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+//
+// RUN: split-file %s %t
+//
+// RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o
+// RUN: %clang++ -shared %t/vec.o -o %t/vec.so
----------------
yuxuanchen1997 wrote:
> Perhaps we should use this yaml-to-so tool to build the library.
Can you point me to the tool? A naive search returned nothing.
https://github.com/llvm/llvm-project/pull/117475
More information about the cfe-commits
mailing list