summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-08-11 00:15:28 +0000
committerJim Ingham <jingham@apple.com>2016-08-11 00:15:28 +0000
commitcec435fe75ef0cfd8056d7e8f6dcc76c39064931 (patch)
tree11b703f2a6b13de3a8f60137a1b0c2900a881954 /lldb/source
parent008ec446440646ac154a15dc1f4a3cb2160f7295 (diff)
downloadbcm5719-llvm-cec435fe75ef0cfd8056d7e8f6dcc76c39064931.tar.gz
bcm5719-llvm-cec435fe75ef0cfd8056d7e8f6dcc76c39064931.zip
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
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp b/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
index bc890695f0c..d00cb81402b 100644
--- a/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
+++ b/lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
@@ -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;
OpenPOWER on IntegriCloud