Skip to content

Commit fa131ae

Browse files
committed
[bazel,unittest] Export llvm_orc_registerJITLoaderGDBWrapper
1 parent 4b34467 commit fa131ae

File tree

1 file changed

+7
-0
lines changed
  • utils/bazel/llvm-project-overlay/llvm/unittests

1 file changed

+7
-0
lines changed

utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,13 @@ cc_test(
299299
# keep one-per-line
300300
"--gtest_filter=-ObjectLinkingLayerTest.TestSetProcessAllSections",
301301
],
302+
linkopts = select({
303+
"@platforms//os:macos": [],
304+
"@platforms//os:windows": [],
305+
"//conditions:default": [
306+
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBWrapper",
307+
],
308+
}),
302309
deps = [
303310
"//llvm:AllTargetsAsmParsers",
304311
"//llvm:AllTargetsCodeGens",

0 commit comments

Comments
 (0)