[PATCH] Make GDBJITRegistrar thread-safe

Ivan Puzyrevskiy sandello at yandex-team.ru
Thu Mar 13 04:44:45 PDT 2014

Hi there.

While investigating a crash in GDBJITRegistrar I have stumbled upon http://llvm.org/bugs/show_bug.cgi?id=15750 . In my setting there were multiple instances of MCJIT operating in different threads.

Patch from Bugzilla applies cleanly and solves the issue. I have attached a patch against r203780, yet full credit goes to Jim Kearney (jim.kearney at oracle.com), original author of the patch.

Any chances to see this in the trunk or 3.5 release?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbjitregistrar.patch
Type: application/octet-stream
Size: 2929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140313/af954a0b/attachment.obj>

More information about the llvm-commits mailing list