[Lldb-commits] [PATCH] D15978: Prevent infinite recursive loop in AppleObjCTrampolineHandler constructor

Francis Ricci via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 7 18:59:25 PST 2016


fjricci updated this revision to Diff 44305.
fjricci added a comment.

Follow suggestion by @jingham to avoid setting up ObjC runtime for low-level POSIX memory allocations


http://reviews.llvm.org/D15978

Files:
  source/Plugins/Process/Utility/InferiorCallPOSIX.cpp

Index: source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
===================================================================
--- source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
+++ source/Plugins/Process/Utility/InferiorCallPOSIX.cpp
@@ -72,6 +72,7 @@
             options.SetTryAllThreads(true);
             options.SetDebug (false);
             options.SetTimeoutUsec(500000);
+            options.SetTrapExceptions(false);
 
             addr_t prot_arg, flags_arg = 0;
             if (prot == eMmapProtNone)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15978.44305.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160108/430a633c/attachment.bin>


More information about the lldb-commits mailing list