aboutsummaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel')
-rw-r--r--utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
index d2bcfc1..8bb5de5 100644
--- a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
@@ -299,6 +299,13 @@ cc_test(
# keep one-per-line
"--gtest_filter=-ObjectLinkingLayerTest.TestSetProcessAllSections",
],
+ linkopts = select({
+ "@platforms//os:macos": [],
+ "@platforms//os:windows": [],
+ "//conditions:default": [
+ "-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBWrapper",
+ ],
+ }),
deps = [
"//llvm:AllTargetsAsmParsers",
"//llvm:AllTargetsCodeGens",