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

Side by Side Diff: third_party/libc++-static/libcxxabi.patch

Issue 2314753002: mac: remove libc++-static 10.6 compatibility hack (Closed)
Patch Set: undelete Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 --- src/cxa_default_handlers.cpp (revision 245965)
2 +++ src/cxa_default_handlers.cpp (working copy)
3 @@ -46,13 +46,7 @@
4 exception_header + 1;
5 const __shim_type_info* thrown_type =
6 static_cast<const __shim_type_info*>(exception_header->exce ptionType);
7 - // Try to get demangled name of thrown_type
8 - int status;
9 - char buf[1024];
10 - size_t len = sizeof(buf);
11 - const char* name = __cxa_demangle(thrown_type->name(), buf, &le n, &status);
12 - if (status != 0)
13 - name = thrown_type->name();
14 + const char* name = thrown_type->name();
15 // If the uncaught exception can be caught with std::exception&
16 const __shim_type_info* catch_type =
17 static_cast<const __shim_type_info*>(&typeid(st d::exception));
OLDNEW
« build/config/compiler/BUILD.gn ('K') | « third_party/libc++-static/libc++.a.sha1 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698