Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: compat/mac/mach-o/getsect.cc

Issue 1066243002: Accept non-fatal resource exceptions without generating crash reports (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Swallow non-fatal EXC_RESOURCE Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « compat/mac/kern/exc_resource.h ('k') | compat/mac/sys/resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/mac/mach-o/getsect.cc
diff --git a/compat/mac/mach-o/getsect.cc b/compat/mac/mach-o/getsect.cc
index 2990c9259b1eca18d7a1dda2003afacc6ddb0bd9..71d3066c677aa79cbe05edf3a2a08a16d4bf0ddd 100644
--- a/compat/mac/mach-o/getsect.cc
+++ b/compat/mac/mach-o/getsect.cc
@@ -43,7 +43,7 @@ void* SystemLibMachOHandle() {
if (!dladdr(reinterpret_cast<void*>(getsectbyname), &info)) {
return nullptr;
}
- return dlopen(info.dli_fname, RTLD_LAZY | RTLD_LOCAL);
+ return dlopen(info.dli_fname, RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD);
}
// Returns a function pointer to a function in libmacho based on a lookup of
« no previous file with comments | « compat/mac/kern/exc_resource.h ('k') | compat/mac/sys/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698