mirror of
https://github.com/encounter/crashpad.git
synced 2026-03-30 11:04:28 -07: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>