Skip to content

Commit 6ad3c2d

Browse files
fixup! [ORC] Remove now unused EPCDebugObjectRegistrar
1 parent c90480c commit 6ad3c2d

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

clang/lib/Interpreter/IncrementalExecutor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747

4848
// Force linking some of the runtimes that helps attaching to a debugger.
4949
LLVM_ATTRIBUTE_USED void linkComponents() {
50-
llvm::errs() << (void *)&llvm_orc_registerJITLoaderGDBWrapper
51-
<< (void *)&llvm_orc_registerJITLoaderGDBAllocAction;
50+
llvm::errs() << (void *)&llvm_orc_registerJITLoaderGDBAllocAction;
5251
}
5352

5453
namespace clang {

llvm/include/llvm-c/LLJITUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LLVM_C_EXTERN_C_BEGIN
4040

4141
/**
4242
* Install the plugin that submits debug objects to the executor. Executors must
43-
* expose the llvm_orc_registerJITLoaderGDBWrapper symbol.
43+
* expose the llvm_orc_registerJITLoaderGDBAllocAction symbol.
4444
*/
4545
LLVM_C_ABI LLVMErrorRef LLVMOrcLLJITEnableDebugSupport(LLVMOrcLLJITRef J);
4646

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3699,7 +3699,7 @@ cc_binary(
36993699
"-Wl,--export-dynamic-symbol=__gxx_personality_v0",
37003700
"-Wl,--export-dynamic-symbol=__cxa_allocate_exception",
37013701
"-Wl,--export-dynamic-symbol=__cxa_throw",
3702-
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBWrapper",
3702+
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBAllocAction",
37033703
"-Wl,--export-dynamic-symbol=llvm_orc_registerEHFrameSectionWrapper",
37043704
"-Wl,--export-dynamic-symbol=llvm_orc_deregisterEHFrameSectionWrapper",
37053705
],
@@ -4249,7 +4249,7 @@ cc_binary(
42494249
"-Wl,--export-dynamic-symbol=__gxx_personality_v0",
42504250
"-Wl,--export-dynamic-symbol=__cxa_allocate_exception",
42514251
"-Wl,--export-dynamic-symbol=__cxa_throw",
4252-
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBWrapper",
4252+
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBAllocAction",
42534253
],
42544254
}),
42554255
stamp = 0,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ cc_test(
408408
"@platforms//os:macos": [],
409409
"@platforms//os:windows": [],
410410
"//conditions:default": [
411-
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBWrapper",
411+
"-Wl,--export-dynamic-symbol=llvm_orc_registerJITLoaderGDBAllocAction",
412412
],
413413
}),
414414
deps = [

0 commit comments

Comments
 (0)