[Lldb-commits] [lldb] Reland "[lldb] Fix TSan report" (PR #181004)
Sergei Druzhkov via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 12 08:58:54 PST 2026
================
@@ -88,8 +88,18 @@ extern "C"
// TODO: dlsym won't work on Windows.
void *dlsym(void* handle, const char* symbol);
int (*ptr__tsan_get_report_loc_object_type)(void *report, unsigned long idx, const char **object_type);
-}
+)"
+#if defined(__linux__)
----------------
DrSergei wrote:
I think we can use `GetProcessInfo().GetTriple()` to check OS.
https://github.com/llvm/llvm-project/pull/181004
More information about the lldb-commits
mailing list