[Mlir-commits] [mlir] [MLIR][ExecutionEngine] Enable PIC option (PR #170995)

Maksim Levental llvmlistbot at llvm.org
Sat Dec 6 16:21:41 PST 2025


================
@@ -807,6 +807,7 @@ def testDumpToObjectFile():
                 # because RTDyldObjectLinkingLayer::emit will try to resolve symbols before dumping
                 # (see the jitLinkForORC call at the bottom there).
                 shared_libs=[MLIR_C_RUNNER_UTILS],
+                enable_pic=True,
----------------
makslevental wrote:

I guess the intent of this "test" is to show that nothing breaks because there's no straightforward way to show the object file is indeed PIC (short of running a linker to make a shlib)?

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


More information about the Mlir-commits mailing list