mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
9e96201002
This change annotates memfd_create with __THROW, fixing a compilation error when building crashpad in C++17 mode. This used to be a consistency error with glibc >= 2.27, that always annotates memfd_create with __THROW: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/bits/mman-shared.h#l51 Fixed: crashpad:339 Change-Id: Iab99e864f49dcfd9e0b445fd59a22c16bbe2a60b Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2643284 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>