forked from OSchip/llvm-project
dlopen & dlclose can't throw C++ or ObjC exceptions, so don't do the extra work of
setting & deleting the breakpoints to watch for this. <rdar://problem/27780214> llvm-svn: 278305
This commit is contained in:
parent
008ec44644
commit
cec435fe75
|
@ -882,6 +882,7 @@ PlatformPOSIX::EvaluateLibdlExpression(lldb_private::Process* process,
|
|||
expr_options.SetIgnoreBreakpoints(true);
|
||||
expr_options.SetExecutionPolicy(eExecutionPolicyAlways);
|
||||
expr_options.SetLanguage(eLanguageTypeC_plus_plus);
|
||||
expr_options.SetTrapExceptions(false); // dlopen can't throw exceptions, so don't do the work to trap them.
|
||||
expr_options.SetTimeoutUsec(2000000); // 2 seconds
|
||||
|
||||
Error expr_error;
|
||||
|
|
Loading…
Reference in New Issue