Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to Fix Linux ARM32/ARM64 CI #18575

Merged
merged 9 commits into from
Nov 23, 2023
Prev Previous commit
Next Next commit
fix crashpad unable to build with GLIBC >= 2.27 in C++17
  • Loading branch information
theofficialgman committed Nov 18, 2023
commit 355cde24b1495fc780ff89d63c7b48424499bde7
2 changes: 1 addition & 1 deletion thirdparty/google_crashpad_client/compat/linux/sys/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
extern "C" {
#endif

int memfd_create(const char* name, unsigned int flags);
int memfd_create(const char* name, unsigned int flags) __THROW;

#ifdef __cplusplus
} // extern "C"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

extern "C" {

int memfd_create(const char* name, unsigned int flags) {
int memfd_create(const char* name, unsigned int flags) __THROW {
static const crashpad::NoCfiIcall<decltype(memfd_create)*> next_memfd_create(
dlsym(RTLD_NEXT, "memfd_create"));
return next_memfd_create ? next_memfd_create(name, flags)
Expand Down