[compiler-rt] [sanitizer_common] Add experimental flag to tweak dlopen(<main program>) (PR #71715)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 13:17:33 PST 2023


================
@@ -0,0 +1,29 @@
+// Test 'test_only_replace_dlopen_main_program' flag
+
+// RUN: %clangxx %s -o %t
+// RUN: env %tool_options='test_only_replace_dlopen_main_program=true' %run %t
+// RUN: env %tool_options='test_only_replace_dlopen_main_program=false' not %run %t
+// REQUIRES: glibc
----------------
vitalybuka wrote:

This this be in Linux folder then?

https://github.com/llvm/llvm-project/pull/71715


More information about the llvm-commits mailing list