diff options
| author | Jim Ingham <jingham@apple.com> | 2016-08-11 00:15:28 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2016-08-11 00:15:28 +0000 |
| commit | cec435fe75ef0cfd8056d7e8f6dcc76c39064931 (patch) | |
| tree | 11b703f2a6b13de3a8f60137a1b0c2900a881954 /lldb/source | |
| parent | 008ec446440646ac154a15dc1f4a3cb2160f7295 (diff) | |
| download | bcm5719-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.cpp | 1 |
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; |

