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

Unified Diff: third_party/libc++-static/libcxxabi.patch

Issue 1415213004: mac: Pull a prebuilt libc++-static.a. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: licenseeeeeeeeeee Created 5 years, 2 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 | « third_party/libc++-static/libc++-static.a.sha1 ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libc++-static/libcxxabi.patch
diff --git a/third_party/libc++-static/libcxxabi.patch b/third_party/libc++-static/libcxxabi.patch
new file mode 100644
index 0000000000000000000000000000000000000000..dfdf7662ac8dc4c455fb3491a74d9a407016bca7
--- /dev/null
+++ b/third_party/libc++-static/libcxxabi.patch
@@ -0,0 +1,17 @@
+--- src/cxa_default_handlers.cpp (revision 245965)
++++ src/cxa_default_handlers.cpp (working copy)
+@@ -46,13 +46,7 @@
+ exception_header + 1;
+ const __shim_type_info* thrown_type =
+ static_cast<const __shim_type_info*>(exception_header->exceptionType);
+- // Try to get demangled name of thrown_type
+- int status;
+- char buf[1024];
+- size_t len = sizeof(buf);
+- const char* name = __cxa_demangle(thrown_type->name(), buf, &len, &status);
+- if (status != 0)
+- name = thrown_type->name();
++ const char* name = thrown_type->name();
+ // If the uncaught exception can be caught with std::exception&
+ const __shim_type_info* catch_type =
+ static_cast<const __shim_type_info*>(&typeid(std::exception));
« no previous file with comments | « third_party/libc++-static/libc++-static.a.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698