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:
Jim Ingham 2016-08-11 00:15:28 +00:00
parent 008ec44644
commit cec435fe75
1 changed files with 1 additions and 0 deletions

View File

@ -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;