[flang-commits] [flang] [clang] [Flang, Clang] Enable and test 'rdynamic' flag (PR #75598)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Mon Dec 18 11:05:08 PST 2023


================
@@ -0,0 +1,10 @@
+! Verify that rdynamic flag adds -export-dynamic flag and passes it on to the linker.
+
+! RUN: %flang -### --target=x86_64-linux-gnu -rdynamic %s 2>&1 | FileCheck --check-prefixes=GNU-LINKER-OPTIONS %s
+! RUN: %flang -### --target=aarch64-linux-none -rdynamic %s 2>&1 | FileCheck --check-prefixes=AARCH-LINKER-OPTIONS %s
----------------
banach-space wrote:

Both these run lines will use the GNU ToolChain within the driver. It's fine to delete one.

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


More information about the flang-commits mailing list