lidavidm commented on PR #35090:
URL: https://github.com/apache/arrow/pull/35090#issuecomment-1508224236
Ah, this gets lldb to recognize it:
```
(lldb) image lookup -v -s grpc_core::ExecCtx::exec_ctx_ libgrpc.29.dylib
1 symbols match 'grpc_core::ExecCtx::exec_ctx_' in
/private/tmp/verify-tmp/mambaforge/envs/conda-source/lib/libgrpc.29.dylib:
Address: libgrpc.29.dylib[0x00000000003db9b8]
(libgrpc.29.dylib.__DATA.__thread_vars + 264)
Summary: libgrpc.29.dylib`grpc_core::ExecCtx::exec_ctx_
Module: file =
"/private/tmp/verify-tmp/mambaforge/envs/conda-source/lib/libgrpc.29.dylib",
arch = "x86_64"
Symbol: id = {0x000036f2}, range =
[0x00000001014019b8-0x00000001014019d0), name="grpc_core::ExecCtx::exec_ctx_",
mangled="_ZN9grpc_core7ExecCtx9exec_ctx_E"
(lldb) print _ZN9grpc_core7ExecCtx9exec_ctx_E
(void *) $0 = 0x00007ff800bd743c
```
lldb says they're the same:
```
(lldb) t 1
* thread #1, queue = 'com.apple.main-thread'
frame #0: 0x00007ff800bcb889 libsystem_pthread.dylib`pthread_mutex_lock
+ 11
libsystem_pthread.dylib`pthread_mutex_lock:
-> 0x7ff800bcb889 <+11>: jne 0x7ff800bcb8fe ; <+128>
0x7ff800bcb88b <+13>: movl 0xc(%rdi), %eax
0x7ff800bcb88e <+16>: movl %eax, %ecx
0x7ff800bcb890 <+18>: andl $0x1c0, %ecx ; imm = 0x1C0
(lldb) print _ZN9grpc_core7ExecCtx9exec_ctx_E
(void *) $1 = 0x00007ff800bd743c
```
But I wonder if it recognizes thread locals properly.
That said, this seems to mostly be a gRPC problem...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]